[Bug tree-optimization/49309] New: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts failed: type mismatch in pointer plus expression
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 7 07:17:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49309
Summary: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts
failed: type mismatch in pointer plus expression
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: reichelt@gcc.gnu.org
The following testcase compiled with "-fmudflap -O" triggers an ICE
=========================================
struct A
{
int i;
A();
A(const A&);
};
inline void foo(A a) { a = A(); }
void bar() { foo(A()); }
=========================================
bug.cc: In function 'void bar()':
bug.cc:11:6: error: type mismatch in pointer plus expression
struct A & restrict
struct A *
long unsigned int
D.1282_15 = &D.1260 + 0;
bug.cc:11:6: internal compiler error: verify_gimple failed
Please submit a full bug report, [etc.]
More information about the Gcc-bugs
mailing list