http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55467
--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-11-26 01:01:08 UTC --- Created attachment 28776 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28776 gcc.dg/guality/pr55467-1.c Here's pr55467-1.c, another variant of gcc.dg/guality/pr36728-2.c which *also* fails at least at r193349, r193583 and r193777 as follows, both with *and* without -m32. The only difference to pr55467-2.c is that x[0] isn't used after the second asm (in which it is an input and output operand). The problem is that x[0] is displayed as 0 rather than 25 or optimized out. Running /home/hp/gcctop/tmp/nbasg/gcc/gcc/testsuite/gcc.dg/guality/guality.exp ... FAIL: gcc.dg/guality/pr55467-1.c -O1 line 14 *x == (char) 25 FAIL: gcc.dg/guality/pr55467-1.c -O2 line 14 *x == (char) 25 FAIL: gcc.dg/guality/pr55467-1.c -O3 -fomit-frame-pointer line 14 *x == (char) 25 FAIL: gcc.dg/guality/pr55467-1.c -O3 -g line 14 *x == (char) 25 FAIL: gcc.dg/guality/pr55467-1.c -Os line 14 *x == (char) 25 FAIL: gcc.dg/guality/pr55467-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none line 14 *x == (char) 25 FAIL: gcc.dg/guality/pr55467-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects line 14 *x == (char) 25