aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20061026.c
blob: dbba84eab91fca7c9c1d8665f34690d7246f52eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-std=gnu17 -O1" } */
/* { dg-skip-if "exceeds eBPF stack limit" { bpf-*-* } } */

/* This testcase failed on s390.  The frame size for function f will be
   exactly 32768 bytes.  The back end has to recognize that this is to
   large for a 16bit constant and therefore should reserve the literal
   pool base pointer.  */

void g ();

int f () {
  char a[32608];

  g (a);
}