re PR c++/48534 ([C++0x][SFINAE] Compiler break down on explicit scoped enum => bool...
authorJason Merrill <jason@redhat.com>
Mon, 11 Apr 2011 22:00:31 +0000 (18:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Apr 2011 22:00:31 +0000 (18:00 -0400)
commit55b13820b4be09c8b8bceaad41d5b5af2c73b411
treea73345eed54b6d5e68c0a76066f4c5053c626200
parentac4b1cc036b88ed7e82c1c755b39568064e9f2e0
re PR c++/48534 ([C++0x][SFINAE] Compiler break down on explicit scoped enum => bool conversion)

PR c++/48534
* cvt.c (ocp_convert): Use build_nop to convert to underlying type
of scoped enum.

From-SVN: r172284
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/enum10.C [new file with mode: 0644]