gcc/testsuite/gcc.target/i386/pr81736-7.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -fno-omit-frame-pointer" } */ |
| 3 | /* { dg-additional-options "-fno-PIE" { target ia32 } } */ |
| 4 | |
| 5 | extern int foo (void); |
| 6 | |
| 7 | int |
| 8 | bar (void) |
| 9 | { |
| 10 | return foo (); |
| 11 | } |
| 12 | |
| 13 | /* No need to use a frame pointer. */ |
| 14 | /* { dg-final { scan-assembler-not "%\[re\]bp" } } */ |