Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr100519.c

raw
1 /* { dg-do compile { target asm_goto_with_outputs } } */
2 /* { dg-additional-options "--param tree-reassoc-width=2" } */
3
4 unsigned int foo_a1, foo_a2;
5
6 unsigned int foo()
7 {
8 unsigned int v0, x;
9 asm goto("" : "=r"(x) : : : lab);
10 lab:
11 v0 += x + x;
12 return v0 + x + foo_a1 + foo_a2;
13 }