This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47476] [4.6 Regression] [C++0x] ICE in potential_constant_expression_1
- From: "dnovillo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Feb 2011 18:01:32 +0000
- Subject: [Bug c++/47476] [4.6 Regression] [C++0x] ICE in potential_constant_expression_1
- Auto-submitted: auto-generated
- References: <bug-47476-4@http.gcc.gnu.org/bugzilla/>
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