gcc/testsuite/gcc.target/i386/pr83994.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target fpic } */ |
| 3 | /* { dg-options "-O2 -march=i686 -fpic -fstack-clash-protection" } */ |
| 4 | /* { dg-require-effective-target ia32 } */ |
| 5 | |
| 6 | void f1 (char *); |
| 7 | |
| 8 | __attribute__ ((regparm (3))) |
| 9 | int |
| 10 | f2 (int arg1, int arg2, int arg3) |
| 11 | { |
| 12 | char buf[16384]; |
| 13 | f1 (buf); |
| 14 | f1 (buf); |
| 15 | return 0; |
| 16 | } |
| 17 |