[Bug fortran/58204] Spurious error when using BOZ literal to set an integer
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue Sep 3 15:25:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58204
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-09-03
CC| |burnus at gcc dot gnu.org,
| |sgk at troutmask dot apl.washingto
| |n.edu
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
After knotting my neurons over the f2008 standard and their extracts in this PR
and PR54072, I think the current implementation (r202213) is valid for f95, but
does not handle the way it should be interpreted for more recent standards, at
least for f2008 (did not checked f2003).
Concerning the sign bit, i.e., "The interpretation of a bit sequence whose most
significant bit is 1 is processor dependent.", I think it does not make sense
to reject it (does anyone knows a present piece of hardware which is not using
two's complement?).
More information about the Gcc-bugs
mailing list