aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/call-2.c
blob: 175933cbe77b9e083e5c0f4350463d14f0168bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* See through some simple data-flow.  */
/* { dg-options "-mrelax-pic-calls" } */
/* { dg-final { scan-assembler-times "\\.reloc\t1f,R_MIPS_JALR,g\n1:\tjalrc?s?\t" 2 } } */

extern void g (void);

int
NOMIPS16 f ()
{
  g ();
  g ();
  return 1;
}