[Bug c++/15069] a bit test on a variable of enum type is miscompiled

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 22 16:06:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-04-22 15:53 -------
To be precise, values outside the bit-range of the enum are undefined. 
I.e. in this case, values of type direction_t must be in the range 
0...7 including end points. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15069



More information about the Gcc-bugs mailing list