aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/msp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/msp.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/msp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/msp.c b/gcc/testsuite/gcc.c-torture/compile/msp.c
new file mode 100644
index 0000000..5d350fd
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/msp.c
@@ -0,0 +1,10 @@
+#ifdef STACK_SIZE
+# define A_SIZE (STACK_SIZE/sizeof(int))
+#else
+# define A_SIZE 16384
+#endif
+foo ()
+{
+ int a[A_SIZE];
+ bar (a);
+}