OSDN Git Service

PR c++/48536
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 02:23:02 +0000 (02:23 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 02:23:02 +0000 (02:23 +0000)
commit8219ad76a3966ba0220c79b7083043cd72c248a9
treee67f36fe735543b104f9dc811c2c3459aae0d708
parentb04965fba7dc39c52ce32577e4cfef018cff7dae
PR c++/48536
* decl.c (build_enumerator): If incremented enumerator won't fit in
previous integral type, find one it will fit in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174258 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum17.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.jason/rfg10.C