This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/48534] [C++0x][SFINAE] Compiler break down on explicit scoped enum => bool conversion


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48534

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-12 00:20:36 UTC ---
Author: jason
Date: Tue Apr 12 00:20:32 2011
New Revision: 172294

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172294
Log:
    PR c++/48534
    * cvt.c (ocp_convert): Use build_nop to convert to underlying type
    of scoped enum.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/enum10.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/cvt.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]