1 /* { dg-do compile { target { *-*-linux* && ia32 } } } */
2 /* { dg-options "-O2 -fpic -fno-plt -mregparm=3" } */
3 
4 extern void bar (int, int, int);
5 
6 void
foo(int a,int b,int c)7 foo (int a, int b, int c)
8 {
9   bar (a, b, c);
10   bar (a, b, c);
11 }
12 
13 /* { dg-final { scan-assembler-not "jmp\[ \t\]*.bar@GOT" } } */
14