http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50189
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-26 08:00:54 UTC --- Um, in 4.6+ we default to -fno-strict-enums, so I would guess that the reason why it doesn't fail there isn't pure luck. Of course with -fstrict-enums it would either fail or be a pure luck.