OSDN Git Service

PR c++/48780
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jun 2011 15:09:29 +0000 (15:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jun 2011 15:09:29 +0000 (15:09 +0000)
commit9fd75d525b510af57a2ca7a536a18930506e2cd1
tree7b362ff7ad48bea5b1140d97d5790865a4121aeb
parente4701ee934076ca4197c73d16fe42cff12e2b158
PR c++/48780
* typeck.c (perform_integral_promotions): Don't promote scoped enums.
* call.c (convert_arg_to_ellipsis): Promote them here in old ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174751 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cvt.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum19.C [new file with mode: 0644]