c++/6568: g++3 (3.0.2) misinterpreting single byte hex constants
brian@talusmusic.com
brian@talusmusic.com
Sun May 5 20:16:00 GMT 2002
>Number: 6568
>Category: c++
>Synopsis: g++3 (3.0.2) misinterpreting single byte hex constants
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 05 20:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Brian Ceccarelli
>Release: g++3 3.0.2 (Red Hat LInux 7.2)
>Organization:
>Environment:
Red Hat Linux 7.2
Intel x686
>Description:
g++3 compiler is really screwing up the value of this hex constant. It is turning the single byte 'char' into a 4-byte integer, and then screwing up the conditional.
>How-To-Repeat:
Easy. Just run this 5 line program.
>Fix:
I don't know how to fix this one. Some one familiar with the compiler code is going to have to fix this.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list