[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 20 01:56:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |kargl at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #6 from kargl at gcc dot gnu.org ---
This code is so far from valid Fortran that it will not be fixed.
1) BYTE is not a standard type.
2) BYTE is not a replacement for DATA, so initialization
in the BYTE statement is dubious. gfortran is interpreting
a BOZ as-if it is in a data statement. Fortran 95 requires
a conversion of a BOZ to INTEGER(16) on your system.
3) The 'X' on '89'X is not standard conforming.
4) The postfix position of 'X' is not standard conforming.
I have plans to deprecate the 'X' extension, postfix position
of BOZ indicators, and the BYTE type in gfortran 10, and their
removal in 11.
More information about the Gcc-bugs
mailing list