PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-2.c
blobf05d7c557a501a940cf64d24cbfd6675d12537f6
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fpic -fno-plt" } */
4 extern void bar (void);
6 int
7 foo (void)
9 bar ();
10 return 0;
13 /* { dg-final { scan-assembler "call\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
14 /* { dg-final { scan-assembler "call\[ \t\]*.bar@GOT\\(" { target ia32 } } } */