summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20061026.c
blob: fa8069ce4cfa23f5448c003314e9b4efafcd4f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-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);
}