Debian Codegraph @

gcc/testsuite/c-c++-common/zero-scratch-regs-leafy-1.c

raw
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fzero-call-used-regs=leafy" } */
3
4 volatile int result = 0;
5 int
6 __attribute__((noipa))
7 foo (int x)
8 {
9 return x;
10 }
11 int main()
12 {
13 result = foo (2);
14 return 0;
15 }