https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #14 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Here's a simple testcase for this issue (triggers for 4.8.3 and 4.9.1): markus@x4 linux % cat exit.i int a, b, c; void fn1 () { int d; if (fn2 () && !0) { b = ( { int e; fn3 (); switch (0) default: asm volatile("" : "=a"(e) : "0"(a), ""(0)); e; }); d = b; } c = d; } markus@x4 linux % gcc -fcompare-debug -O2 -c exit.i gcc: error: exit.i: -fcompare-debug failure (length) markus@x4 linux % gcc -fcompare-debug -Os -c exit.i gcc: error: exit.i: -fcompare-debug failure (length) markus@x4 linux %