This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30332] [4.1/4.2?/4.3? regression] bit-field: optimization BUG?
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 05:32:07 -0000
- Subject: [Bug c++/30332] [4.1/4.2?/4.3? regression] bit-field: optimization BUG?
- References: <bug-30332-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bangerth at dealii dot org 2007-01-21 05:32 -------
In any case, I consider this a bug in gcc. The problem doesn't happen with
gcc 3.3 or 3.4 or 4.0, so it's a regression.
That said, there's a second problem: before 4.1.x, we warned:
g/x> /home/bangerth/bin/gcc-4.0.x/bin/c++ x.cc -O2
x.cc: In function 'int main()':
x.cc:13: warning: converting negative value '-0x000000001' to 'long long
unsigned int'
This doesn't happen any more, not even with -W -Wall
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Known to fail| |4.1.0
Known to work| |3.3.6 3.4.6 4.0.1
Summary|bit-field: optimization BUG?|[4.1/4.2?/4.3? regression]
| |bit-field: optimization BUG?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30332