2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66232-11.c
blob57446ac7b6ad75d204f0c6c5031d974fb63f04fb
1 /* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -fpic -fno-plt -maddress-mode=long" } */
5 extern void bar (void);
7 int
8 foo (void)
10 bar ();
11 return 0;
14 /* { dg-final { scan-assembler "call\[ \t\]*.bar@GOTPCREL" } } */