[Bug c++/47476] [4.6 Regression] [C++0x] ICE in potential_constant_expression_1

dnovillo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 2 18:01:00 GMT 2011


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

--- Comment #5 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:54:54 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:54:50 2011
New Revision: 169630

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169630
Log:
    PR c++/47476
    * semantics.c (potential_constant_expression_1): Handle
    TRUTH_XOR_EXPR.

    * g++.dg/cpp0x/pr47476.C: New test.

Added:
    branches/google/integration/gcc/testsuite/g++.dg/cpp0x/pr47476.C
Modified:
    branches/google/integration/gcc/cp/ChangeLog
    branches/google/integration/gcc/cp/semantics.c
    branches/google/integration/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list