[Bug c++/12242] g++ should warn about out-of-range int->enum conversions

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 15 11:35:00 GMT 2008



------- Comment #12 from rguenth at gcc dot gnu dot org  2008-02-15 11:34 -------
It should probably say that it will truncate the value, which is what will
happen.


-- 


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



More information about the Gcc-bugs mailing list