C++ PATCH for c++/56155 (wrong type for enumerator)

Jason Merrill jason@redhat.com
Wed Feb 13 14:22:00 GMT 2013

Within the { } of an enum-specifier with a fixed underlying type, the 
enumerators are supposed to have that type.  A comment in 
build_enumerator mentioned that requirement, but nothing actually 
implemented it.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 56155.patch
Type: text/x-patch
Size: 1949 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130213/4d90506b/attachment.bin>

More information about the Gcc-patches mailing list