https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63285
Bug ID: 63285 Summary: [4.9/5 Regression] -fcompare-debug scheduler related failure Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: vmakarov at gcc dot gnu.org The following testcase: /* { dg-do compile } */ /* { dg-options "-O2 -fcompare-debug" } */ struct S { int a; }; struct T { int b, c; } a; long b; int c, d; void bar (int, int); void baz (void *, int); void foo (struct S *x, int y, int z, void *f, int *p, struct T *e) { while (x) { baz (f, &d > p); if (z & 1) bar (f > (void *) &f, z); } if (c) { asm ("" : "+m" (a) : "i" (0)); y--; } if (e->b == e->c) c = y; y--; } fails with -fcompare-debug on the trunk and 4.9 branch since the PR61923 fix (i.e. r213675 on the trunk and r213674 on the 4.9 branch), one insn has :TI in just one of the dumps and not the other one.