http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-26 11:50:43 UTC --- The difference from PR 53661 is that the underlying type of a scoped enumeration is fixed, so its values are the values of (in this case) int. In PR 53661 the underlying type is not fixed.