gcc/testsuite/gcc.target/sparc/20170228-1.c
raw| 1 | /* PR target/79749 */ |
| 2 | /* Reported by Rainer Orth <[email protected]> */ |
| 3 | |
| 4 | /* { dg-do run } */ |
| 5 | /* { dg-options "-fomit-frame-pointer" } */ |
| 6 | |
| 7 | extern void abort (void); |
| 8 | |
| 9 | int foo (int x1, int x2, int x3, int x4, int x5, int x6, int x7) |
| 10 | { |
| 11 | return x7; |
| 12 | } |
| 13 | |
| 14 | int main (void) |
| 15 | { |
| 16 | if (foo (100, 200, 300, 400, 500, 600, 700) != 700) |
| 17 | abort (); |
| 18 | |
| 19 | return 0; |
| 20 | } |