re PR c++/56155 ([C++11] enumeration with fixed underlying type - enumerators have...
authorJason Merrill <jason@redhat.com>
Wed, 13 Feb 2013 17:56:16 +0000 (12:56 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 13 Feb 2013 17:56:16 +0000 (12:56 -0500)
commitd0d9cf0ebf69940ed0b95b7b3644553913126286
treebd3c684d265fa737fdae061feea6036a68f3cfd2
parent78a2ea4199b0292a4fada84baa2db53f6b67e0f0
re PR c++/56155 ([C++11] enumeration with fixed underlying type - enumerators have wrong type within enumerator-list)

PR c++/56155
* decl.c (build_enumerator): Always convert the value to a
fixed underlying type.

From-SVN: r196022
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp0x/enum22.C [new file with mode: 0644]