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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-07 
21:46:50 UTC ---
Author: jason
Date: Thu Apr  7 21:46:48 2011
New Revision: 172138

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172138
Log:
    PR c++/48450
    * c-family/c-common.c (c_common_truthvalue_conversion): Don't ignore
    conversion from C++0x scoped enum.
    * cp/cvt.c (ocp_convert): Handle converting scoped enum to bool.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/enum9.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cvt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to