This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47476] New: [4.6 Regression] [C++0x] ICE in potential_constant_expression_1
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 16:14:02 +0000
- Subject: [Bug c++/47476] New: [4.6 Regression] [C++0x] ICE in potential_constant_expression_1
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47476
Summary: [4.6 Regression] [C++0x] ICE in
potential_constant_expression_1
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: jakub@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
int
foo (int a, int b)
{
const bool c ((a != 0) == (b != 26));
return c;
}
ICEs with -std=c++0x with:
rh672156.ii:4:38: sorry, unimplemented: unexpected ast of kind truth_xor_expr
rh672156.ii:4:38: internal compiler error: in potential_constant_expression_1,
at cp/semantics.c:7709