This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50046] Hexadecimal Constants
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2011 19:57:39 +0000
- Subject: [Bug fortran/50046] Hexadecimal Constants
- Auto-submitted: auto-generated
- References: <bug-50046-4@http.gcc.gnu.org/bugzilla/>
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?