diff mbox

[testsuite] VLA test uses alloca

Message ID 5661F0A4.4050505@acm.org
State New
Headers show

Commit Message

Nathan Sidwell Dec. 4, 2015, 7:59 p.m. UTC
gcc.dg/vla-24.c uses alloca.   Marked accordingly and committed as obvious.

nathan
diff mbox

Patch

2015-12-04  Nathan Sidwell  <nathan@acm.org>

	* gcc.dg/vla-24.c: Requires alloca.

Index: testsuite/gcc.dg/vla-24.c
===================================================================
--- testsuite/gcc.dg/vla-24.c	(revision 231302)
+++ testsuite/gcc.dg/vla-24.c	(working copy)
@@ -2,6 +2,7 @@ 
 
 /* { dg-do run } */
 /* { dg-options "-std=gnu99" } */
+/* { dg-require-effective-target alloca } */
 
 extern void abort (void);