2018-07-12 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-16.c
blobd67f1a594dc803c6f97897f35e93bfc0b25c62b4
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fno-pic -fno-plt" } */
4 extern int bar (void);
6 int
7 foo (void)
9 return bar ();
12 /* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOTPCREL" { target { ! ia32 } } } } */
13 /* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOT" { target { ia32 && got32x_reloc } } } } */