[Bug middle-end/38572] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:398

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 30 10:39:00 GMT 2008



------- Comment #23 from bonzini at gnu dot org  2008-12-30 10:38 -------
Fixed.  However, you should check if the code is valid C++ at all, because
out-of-range enum values are handled differently in C and C++ (the bug stemmed
from the fact that op was set to a value that is beyond what the C++ front-end
had set as the maximum value of the enum).


-- 


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



More information about the Gcc-bugs mailing list