This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14755] [3.3/3.4/3.5 regression] miscompilation in bitfielded signed integers
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2004 17:35:43 -0000
- Subject: [Bug c++/14755] [3.3/3.4/3.5 regression] miscompilation in bitfielded signed integers
- References: <20040327161841.14755.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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