diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.target/mips/mmcount-ra-address-3.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.target/mips/mmcount-ra-address-3.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.target/mips/mmcount-ra-address-3.c b/gcc-4.9/gcc/testsuite/gcc.target/mips/mmcount-ra-address-3.c new file mode 100644 index 000000000..17bcb76be --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.target/mips/mmcount-ra-address-3.c @@ -0,0 +1,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; +} |