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

Reply via email to