gcc/testsuite/gcc.dg/20061026.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-std=gnu17 -O1" } */ |
| 3 | /* { dg-skip-if "exceeds eBPF stack limit" { bpf-*-* } } */ |
| 4 | |
| 5 | /* This testcase failed on s390. The frame size for function f will be |
| 6 | exactly 32768 bytes. The back end has to recognize that this is to |
| 7 | large for a 16bit constant and therefore should reserve the literal |
| 8 | pool base pointer. */ |
| 9 | |
| 10 | void g (); |
| 11 | |
| 12 | int f () { |
| 13 | char a[32608]; |
| 14 | |
| 15 | g (a); |
| 16 | } |