------- Comment #4 from jason at gcc dot gnu dot org 2010-05-04 04:48 ------- In G++ 4.6 the surprising optimization will only be performed with -fstrict-enums.
-- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37281