[Bug algol68/124372] Lots of algol68 FAILs on i686-linux
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 8 19:12:17 GMT 2026
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 <jemarch@gcc.gnu.org>:
https://gcc.gnu.org/g:891d1d0fcdc614de729553df7de41e2148b88692
commit r16-7950-g891d1d0fcdc614de729553df7de41e2148b88692
Author: Jose E. Marchesi <jemarch@gnu.org>
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 <jemarch@gnu.org>
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Algol68
mailing list