http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51348
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> 2011-11-29 21:52:49 UTC --- Confirmed. The code crashes since GCC 4.4.0 when scoped enums were introduced. The ICE also appears without the 'class' keyword before the enum.