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