summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/mmcount-ra-address-2.c
blob: bef9dd93d804f9e80258edfa0b80c3dcb375413b (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O2 -pg -mmcount-ra-address -mabi=64" } */
/* { dg-final { scan-assembler "\tdla\t\\\$12,8\\(\\\$sp\\)" } } */
int foo (int);
int bar (int i)
{
  return foo (i) + 2;
}