[Bug fortran/50046] New: Hexidecimal Constants
James.W.Burgess at aero dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 11 17:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50046
Bug #: 50046
Summary: Hexidecimal Constants
Classification: Unclassified
Product: gcc
Version: 4.3.4
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: James.W.Burgess@aero.org
When rehosting a utility to a different computer, the compiler would treat
hexidecimal constants as a string (8 bits per character). To fix this in my
code I translated the hexidecimal constants to integers.
Here is an example:
'FFFF0000'X had be changed to -65536 to successfully compile.
The compiler should be able to handle using hexidecimal constants.
More information about the Gcc-bugs
mailing list