This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37084] New: [4.4 regression] ICE in gimple_assign_rhs1
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 21:04:35 -0000
- Subject: [Bug tree-optimization/37084] New: [4.4 regression] ICE in gimple_assign_rhs1
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid testcase triggers an ICE on mainline when compiled
with "-O" (i686-pc-linux-gnu) or "-o -m32" (x64_64-unknown-linux-gnu):
===================================
struct A
{
A();
};
inline A foo() { return A(); }
const A a(foo());
===================================
bug.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
bug.cc:8: internal compiler error: gimple check: expected
gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs1, at
gimple.h:1717
Please submit a full bug report, [etc.]
The regression appeared between 2008-07-26 and 2008-07-29.
--
Summary: [4.4 regression] ICE in gimple_assign_rhs1
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: major
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37084