re PR c++/48780 ([C++0x] scoped enumerations and va_arg (default argument promotions))
authorJason Merrill <jason@redhat.com>
Sat, 21 May 2011 22:01:29 +0000 (18:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 21 May 2011 22:01:29 +0000 (18:01 -0400)
commit967444bbf8f78f46dd5df5c924a7650e4ad323ac
tree83ba4e68d0c082c7961e537865d4279fa9677c76
parent525fe1cf88a56dbad47a1fcfee4e6bfe8dd3fbb4
re PR c++/48780 ([C++0x] scoped enumerations and va_arg (default argument promotions))

PR c++/48780
* cvt.c (type_promotes_to): Don't promote scoped enums.

From-SVN: r174005
gcc/common.opt
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum12.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/enum13.C [new file with mode: 0644]