Require alloca for some test-cases

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
This commit is contained in:
Tom de Vries 2018-01-08 09:59:13 +00:00 committed by Tom de Vries
parent 34113d650e
commit b5da8f9483
4 changed files with 11 additions and 2 deletions

View 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

View 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;

View 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;

View 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 */