]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Require alloca for some test-cases
authorTom de Vries <tom@codesourcery.com>
Mon, 8 Jan 2018 09:59:13 +0000 (09:59 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 8 Jan 2018 09:59:13 +0000 (09:59 +0000)
2018-01-08  Tom de Vries  <tom@codesourcery.com>

* c-c++-common/builtins.c: Require effective target alloca.
* gcc.dg/Wrestrict.c: Same.
* gcc.dg/tree-ssa/loop-interchange-15.c: Same.

From-SVN: r256332

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/builtins.c
gcc/testsuite/gcc.dg/Wrestrict.c
gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-15.c

index de9400333863004b40ac485aabebe474b524ef20..3a72d8dddd8a6f3d0dbbe8c0868dbcbdbbf00906 100644 (file)
@@ -1,3 +1,9 @@
+2018-01-08  Tom de Vries  <tom@codesourcery.com>
+
+       * c-c++-common/builtins.c: Require effective target alloca.
+       * gcc.dg/Wrestrict.c: Same.
+       * gcc.dg/tree-ssa/loop-interchange-15.c: Same.
+
 2018-01-08  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/83580
index 673fcad22aae7de2ce93ae3a9c975f5e9fed8369..3f1ef115aedf5567576bdcb178093949c4b896b7 100644 (file)
@@ -2,7 +2,8 @@
    with no prototype do not cause an ICE.
   { dg-do compile }
   { dg-options "-O2 -Wall -Wextra" }
-  { dg-prune-output "warning" }  */
+  { dg-prune-output "warning" }
+  { dg-require-effective-target alloca }  */
 
 typedef __SIZE_TYPE__ size_t;
 
index 076f87862d8a0fe2d57dc02148149c73e5f76095..266443fe25d4ef5a933444bd9e50fb50aadae2d0 100644 (file)
@@ -1,6 +1,7 @@
 /* Test to verify that VLAs are handled gracefully by -Wrestrict
    { dg-do compile }
-   { dg-options "-O2 -Wrestrict" }  */
+   { dg-options "-O2 -Wrestrict" }
+   { dg-require-effective-target alloca }  */
 
 typedef __SIZE_TYPE__ size_t;
 
index 420880e8fc95086dbfe9fbb480dd3c6a148862f5..63e5bb73134f5e78d3eededf3d144ada8eee25f8 100644 (file)
@@ -1,6 +1,7 @@
 /* PR tree-optimization/83337 */
 /* { dg-do run { target int32plus } } */
 /* { dg-options "-O2 -floop-interchange" } */
+/* { dg-require-effective-target alloca }  */
 
 /* Copied from graphite/interchange-5.c */