aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/mmcount-ra-address-3.c
blob: 17bcb76be5018fa66fa7eea435138cd4c38a6a01 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-pg -mmcount-ra-address -mabi=64 -mno-abicalls" } */
/* { dg-skip-if "requiring a specific frame layout makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-final { scan-assembler "\tdla\t\\\$12,200008\\(\\\$sp\\)" } } */
int foo (int *);
NOMIPS16 int bar(int i)
{
  int big[50000];
  return foo (big) + 2;
}