Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/dce-inline-asm-1.c

raw
1 /* PR tree-optimization/108684 */
2 /* This used to ICE as when we remove the store to
3 `t`, we also would remove the inline-asm which
4 had a VDEF on it but we didn't update the
5 VUSE that was later on. */
6 static int t;
7
8 int f (int *a)
9 {
10 int t1;
11 asm (" " : "=X" (t1) : : "memory");
12 t = t1;
13 return *a;
14 }
15