This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50046] New: Hexidecimal Constants
- From: "James.W.Burgess at aero dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2011 17:11:43 +0000
- Subject: [Bug fortran/50046] New: Hexidecimal Constants
- Auto-submitted: auto-generated
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.