[Bug c++/14755] [3.3/3.4/3.5 regression] miscompilation in bitfielded signed integers

mueller at kde dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 30 17:35:00 GMT 2004


------- Additional Comments From mueller at kde dot org  2004-03-30 17:35 -------
the problem seems to be that the mask is incorrectly calculated,  
it forgets the "sign bit".  
 
does gcc only support 2-complement signed integer handling  
or does it also have support for other weird representations? 
 
otherwise its just adjusting the mask in line 7276 by another -1 
for signed integer 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14755



More information about the Gcc-bugs mailing list