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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-06 
21:58:47 UTC ---
Author: jason
Date: Fri May  6 21:58:44 2011
New Revision: 173516

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173516
Log:
    PR c++/48909
    * semantics.c (cxx_eval_conditional_expression): Check
    integer_zerop/onep instead.

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

Reply via email to