public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50046] New: Hexidecimal Constants
@ 2011-08-11 17:12 James.W.Burgess at aero dot org
  2011-08-11 17:25 ` [Bug fortran/50046] " kargl at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: James.W.Burgess at aero dot org @ 2011-08-11 17:12 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-07 22:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 17:12 [Bug fortran/50046] New: Hexidecimal Constants James.W.Burgess at aero dot org
2011-08-11 17:25 ` [Bug fortran/50046] " kargl at gcc dot gnu.org
2011-08-11 19:58 ` [Bug fortran/50046] Hexadecimal Constants mikael at gcc dot gnu.org
2011-08-11 20:19 ` sgk at troutmask dot apl.washington.edu
2011-08-13 11:05 ` mikael at gcc dot gnu.org
2011-08-20 14:58 ` mikael at gcc dot gnu.org
2011-11-07 22:54 ` fxcoudert at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).