summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20061026.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/20061026.c')
-rw-r--r--gcc/testsuite/gcc.dg/20061026.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20061026.c b/gcc/testsuite/gcc.dg/20061026.c
new file mode 100644
index 000000000..fb3de2375
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/20061026.c
@@ -0,0 +1,13 @@
+/* { dg-do compile } */
+/* { dg-options "-O1" } */
+
+/* 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. */
+
+int f () {
+ char a[32608];
+
+ g (a);
+}