[Bug c++/36170] enum variable operation behaviour and -O2

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 7 17:24:00 GMT 2008



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-05-07 17:23 -------
And C++ standard says if the value is out of range of the enum, the behavior is
undefined so this is not a bug.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list