------- Comment #2 from bangerth at dealii dot org 2006-12-22 00:52 ------- When is the justification that we expect a value of 2? Bool in C++ is a one-bit type and when you do x.x++ I would imagine that you overflow the range of that type. The fact that you declare it as a bit-field of length 4 is immaterial, in my opinion: you also don't get a 128-bit integer simply by declaring a variable as struct X { int x : 128; };
W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org Status|ASSIGNED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30274