http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51712
--- Comment #14 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-16 08:43:28 UTC --- (In reply to comment #13) > If the -fno-short-enums option is needed here, isn't that a bug? Agreed. This is just hiding the bug for the testsuite but not fixing it for users. This is one patch fixing this: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00383.html but a better fix is mentioned in the comments: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00972.html Implementing any of those options will fix this bug and add the infrastructure needed to fix similar bugs.