Missed jump threading on the tree level with the following C code: struct a { int t; }; int f(struct a *b, struct a *c) { if (b != c) { int *d = &b->t; int *d1 = &c->t; if (d == d1) return 1; } return 0; }
---- This shows up in tramp3d: if (__last != __last.8832) goto <L16>; else goto <L17>; <L16>:; if (&__last->engine_m != &__last.8832->engine_m) goto <L18>; else goto <L17>; -- Summary: Missed jump threading on the tree level Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: missed-optimization, TREE Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org OtherBugsDependingO 22501 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26400