https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124372

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jose E. Marchesi <[email protected]>:

https://gcc.gnu.org/g:891d1d0fcdc614de729553df7de41e2148b88692

commit r16-7950-g891d1d0fcdc614de729553df7de41e2148b88692
Author: Jose E. Marchesi <[email protected]>
Date:   Sun Mar 8 19:14:32 2026 +0100

    a68: fix calls to strtol and stroll [PR algol68/124372]

    This commit fixes the following problems related to parsing integer
    and bits denotations:

    1. strtou?l should be used only if itis 64-bit long.  Otherwise, use
       strtou?l.

    2. Use unsigned conversions for bits denotations radix, for
    consistency.

    Tested in i686-linux-gnu and x86_64-linux-gnu.

    Signed-off-by: Jose E. Marchesi <[email protected]>

    gcc/algol68/ChangeLog

            PR algol68/124372
            * a68-low-units.cc (a68_lower_denotation): Call to strtoull if
            INT64_T_IS_LONG is not defined, strtol otherwise.
            * a68-parser-scanner.cc (get_next_token): Use strtoul for radix
            instead of strtol.

Reply via email to