* decl.c (build_enumerator): Don't perform integral promotions on
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Feb 2011 16:30:08 +0000 (16:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Feb 2011 16:30:08 +0000 (16:30 +0000)
commit3d40bfb8a4365617317344f586b7c1a6e6b6e2c1
tree8a08fe54bb8ae6f3014108c6fcd1a0db20193062
parent527facbb29c4923eca0e23e10a774beb16525d32
* decl.c (build_enumerator): Don't perform integral promotions on
non-integral constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170008 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/ext-label10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/label10.C