summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr68937-2.c
blob: 257f4e267f468aed5a345351e6180ea509cc8b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target { *-*-linux* && ia32 } } } */
/* { dg-options "-O2 -fpic -fno-plt -mregparm=3" } */

extern void bar (int, int);

void
foo (int a, int b)
{
  bar (a, b);
  bar (a, b);
}

/* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOT\\(%e(a|c|d)x\\)" } } */