Comments

I haven't checked the ARM, but as far back as C++98 it was specified
that the type of an enumerator with no initializer is the type of the
previous enumerator, unless the new value won't fit in that type, in
which case it's an unspecified integral type. We weren't implementing
that latter part.
Tested x86_64-pc-linux-gnu, applying to trunk.