This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/16954] New: [3.5 Regression] ICE with IMA and incomplete structs


$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]