Re: [PATCH] fortran: Fix o'...' boz to integer/real conversions [PR96859]

2020-09-02 Thread Tobias Burnus
On 9/2/20 10:18 AM, Jakub Jelinek via Gcc-patches wrote: The standard says that excess digits from boz are truncated. For hexadecimal or binary, the routines copy just the number of digits that will be needed, but for octal we copy number of digits that contain one extra bit (for 8-bit, 32-bit o

[PATCH] fortran: Fix o'...' boz to integer/real conversions [PR96859]

2020-09-02 Thread Jakub Jelinek via Gcc-patches
Hi! The standard says that excess digits from boz are truncated. For hexadecimal or binary, the routines copy just the number of digits that will be needed, but for octal we copy number of digits that contain one extra bit (for 8-bit, 32-bit or 128-bit, i.e. kind 1, 4 and 16) or two extra bits (fo