This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/6568: g++3 (3.0.2) misinterpreting single byte hex constants



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]