gcc/testsuite/gcc.target/i386/call-2.c
raw| 1 | /* PR optimization/11304 */ |
| 2 | /* Originator: <[email protected]> */ |
| 3 | /* { dg-do run } */ |
| 4 | /* { dg-options "-O -fomit-frame-pointer" } */ |
| 5 | |
| 6 | /* Verify that %eax is always restored after a call. */ |
| 7 | |
| 8 | __attribute__((noipa)) void set_eax(int val); |
| 9 | __attribute__((noipa)) void foo(int val); |
| 10 | __attribute__((noipa)) int bar(int x); |
| 11 | |
| 12 | #include "call-1.c" |