This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49309] New: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts failed: type mismatch in pointer plus expression
- From: "reichelt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Jun 2011 07:17:42 +0000
- Subject: [Bug tree-optimization/49309] New: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts failed: type mismatch in pointer plus expression
- Auto-submitted: auto-generated
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.]