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]

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


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


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