gcc/testsuite/gcc.target/i386/pr119386-2.c
raw| 1 | /* PR target/119386 */ |
| 2 | /* { dg-do compile { target *-*-linux* } } */ |
| 3 | /* { dg-options "-O2 -fpic -fno-plt -pg" } */ |
| 4 | /* { dg-final { scan-assembler "call\[ \t\]+\\*mcount@GOTPCREL\\(" { target { ! ia32 } } } } */ |
| 5 | /* { dg-final { scan-assembler "call\[ \t\]+\\*mcount@GOT\\(" { target ia32 } } } */ |
| 6 | |
| 7 | |
| 8 | int |
| 9 | main () |
| 10 | { |
| 11 | return 0; |
| 12 | } |