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