This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16954] New: [3.5 Regression] ICE with IMA and incomplete structs
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2004 01:08:26 -0000
- Subject: [Bug tree-optimization/16954] New: [3.5 Regression] ICE with IMA and incomplete structs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ more aa.c
struct x;
foo(struct x* q)
{
bar(q);
}
$ more bb.c
struct x { int a; int b; };
bar(struct x* p) {
printf("%d\n", p->a);
}
gcc bb.c aa.c -O3 -combine -S
This breaks mesa compiling IMA.
--
Summary: [3.5 Regression] ICE with IMA and incomplete structs
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, ice-checking, alias
Severity: critical
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16954