This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50046] Hexadecimal Constants


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50046

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikael at gcc dot gnu.org

--- Comment #2 from Mikael Morin <mikael at gcc dot gnu.org> 2011-08-11 19:57:39 UTC ---
Fortran 2008, 4.7:

R466 hex-constant is Z â hex-digit [ hex-digit ] ... â
                     or Z " hex-digit [ hex-digit ] ... "


(In reply to comment #0)
> 'FFFF0000'X  had be changed to -65536 to successfully compile.
> 
According to the above, I'm afraid this is not the standard syntax.
Does it work with Z'FFFF0000'?

You didn't precise the working/failing compiler versions.
Or was the "working" version a non-GNU compiler?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]