[Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER.
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 14 21:42:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81552
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |jb at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #6 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Fixed on trunk, closing.
The patch uses strtol() since that is in C89 and thus available everywhere.
This close to the GCC 9 release I didn't want to risk breaking some targets I
don't have a GCC development environment setup on.
strtoll and int64_t are in C99 and with some GCC headers and libiberty they
should be available everywhere, which would make this patch work on 32-bit and
LLP64 (e.g. win64) targets. If anyone is interested in pursuing this I suggest
reopening this bug report and submitting a patch when GCC is in stage 1.
More information about the Gcc-bugs
mailing list