Commit b5da8f94 by Tom de Vries Committed by Tom de Vries

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
parent 34113d65
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
......
......@@ -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;
......
/* 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;
......
/* 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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment