aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common')
-rw-r--r--gcc/testsuite/c-c++-common/Walloca-larger-than.c3
-rw-r--r--gcc/testsuite/c-c++-common/Warray-bounds-9.c3
-rw-r--r--gcc/testsuite/c-c++-common/Warray-bounds.c1
-rw-r--r--gcc/testsuite/c-c++-common/Wdangling-pointer-2.c3
-rw-r--r--gcc/testsuite/c-c++-common/Wdangling-pointer-4.c3
-rw-r--r--gcc/testsuite/c-c++-common/Wdangling-pointer-5.c3
-rw-r--r--gcc/testsuite/c-c++-common/Wdangling-pointer.c3
-rw-r--r--gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c1
-rw-r--r--gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess1.c1
-rw-r--r--gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c1
-rw-r--r--gcc/testsuite/c-c++-common/Wstringop-truncation.c3
-rw-r--r--gcc/testsuite/c-c++-common/Wunused-var-6.c1
-rw-r--r--gcc/testsuite/c-c++-common/Wunused-var-8.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/alloca-leak.c2
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-2.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-3.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/capacity-1.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/capacity-3.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/imprecise-floating-point-1.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/infinite-recursion-alloca.c2
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/malloc-callbacks.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/malloc-paths-8.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/out-of-bounds-5.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/out-of-bounds-diagram-11.c1
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/uninit-alloca.c2
-rw-r--r--gcc/testsuite/c-c++-common/analyzer/write-to-string-literal-5.c1
-rw-r--r--gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c1
-rw-r--r--gcc/testsuite/c-c++-common/auto-init-11.c1
-rw-r--r--gcc/testsuite/c-c++-common/auto-init-12.c1
-rw-r--r--gcc/testsuite/c-c++-common/auto-init-15.c1
-rw-r--r--gcc/testsuite/c-c++-common/auto-init-16.c1
-rw-r--r--gcc/testsuite/c-c++-common/builtins.c3
-rw-r--r--gcc/testsuite/c-c++-common/dwarf2/vla1.c1
-rw-r--r--gcc/testsuite/c-c++-common/gomp/pr61486-2.c1
-rw-r--r--gcc/testsuite/c-c++-common/torture/builtin-clear-padding-4.c1
-rw-r--r--gcc/testsuite/c-c++-common/torture/strub-run3.c1
-rw-r--r--gcc/testsuite/c-c++-common/torture/strub-run4.c1
-rw-r--r--gcc/testsuite/c-c++-common/torture/strub-run4c.c1
-rw-r--r--gcc/testsuite/c-c++-common/torture/strub-run4d.c1
-rw-r--r--gcc/testsuite/c-c++-common/torture/strub-run4i.c1
40 files changed, 8 insertions, 51 deletions
diff --git a/gcc/testsuite/c-c++-common/Walloca-larger-than.c b/gcc/testsuite/c-c++-common/Walloca-larger-than.c
index 6fdc1de..e7851ea 100644
--- a/gcc/testsuite/c-c++-common/Walloca-larger-than.c
+++ b/gcc/testsuite/c-c++-common/Walloca-larger-than.c
@@ -1,7 +1,6 @@
/* PR middle-end/100425 - missing -Walloca-larger-than with -O0
{ dg-do compile }
- { dg-options "-O0 -Wall -Walloca-larger-than=128" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O0 -Wall -Walloca-larger-than=128" } */
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/c-c++-common/Warray-bounds-9.c b/gcc/testsuite/c-c++-common/Warray-bounds-9.c
index 3b5cdfe..be05775 100644
--- a/gcc/testsuite/c-c++-common/Warray-bounds-9.c
+++ b/gcc/testsuite/c-c++-common/Warray-bounds-9.c
@@ -1,8 +1,7 @@
/* PR tree-optimization/99121 - ICE in -Warray-bounds on a multidimensional
VLA
{ dg-do compile }
- { dg-options "-O2 -Wall -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O2 -Wall -ftrack-macro-expansion=0" } */
#define NOIPA __attribute__ ((noipa))
diff --git a/gcc/testsuite/c-c++-common/Warray-bounds.c b/gcc/testsuite/c-c++-common/Warray-bounds.c
index ce5827d..0cd4da0 100644
--- a/gcc/testsuite/c-c++-common/Warray-bounds.c
+++ b/gcc/testsuite/c-c++-common/Warray-bounds.c
@@ -1,7 +1,6 @@
/* PR tree-optimization/82588 - missing -Warray-bounds on an excessively
large index
{ dg-do compile }
- { dg-require-effective-target alloca }
{ dg-options "-O2 -Warray-bounds -Wno-stringop-overread -ftrack-macro-expansion=0" } */
#include "../gcc.dg/range.h"
diff --git a/gcc/testsuite/c-c++-common/Wdangling-pointer-2.c b/gcc/testsuite/c-c++-common/Wdangling-pointer-2.c
index 20f11b2..527e5e7 100644
--- a/gcc/testsuite/c-c++-common/Wdangling-pointer-2.c
+++ b/gcc/testsuite/c-c++-common/Wdangling-pointer-2.c
@@ -2,8 +2,7 @@
variable within the same function
Exercise basic cases of -Wdangling-pointer with optimization.
{ dg-do compile }
- { dg-options "-O2 -Wall -Wno-uninitialized -Wno-return-local-addr -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O2 -Wall -Wno-uninitialized -Wno-return-local-addr -ftrack-macro-expansion=0" } */
typedef __INTPTR_TYPE__ intptr_t;
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/c-c++-common/Wdangling-pointer-4.c b/gcc/testsuite/c-c++-common/Wdangling-pointer-4.c
index a747aab..e57e66f 100644
--- a/gcc/testsuite/c-c++-common/Wdangling-pointer-4.c
+++ b/gcc/testsuite/c-c++-common/Wdangling-pointer-4.c
@@ -2,8 +2,7 @@
variable within the same function
Exercise -Wdangling-pointer for VLAs.
{ dg-do compile }
- { dg-options "-O0 -Wall -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O0 -Wall -ftrack-macro-expansion=0" } */
void sink (void*, ...);
diff --git a/gcc/testsuite/c-c++-common/Wdangling-pointer-5.c b/gcc/testsuite/c-c++-common/Wdangling-pointer-5.c
index cb6da9e..3a8f542 100644
--- a/gcc/testsuite/c-c++-common/Wdangling-pointer-5.c
+++ b/gcc/testsuite/c-c++-common/Wdangling-pointer-5.c
@@ -3,8 +3,7 @@
Exercise -Wdangling-pointer for escaping stores of addreses of auto
variables.
{ dg-do compile }
- { dg-options "-O0 -Wall -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O0 -Wall -ftrack-macro-expansion=0" } */
void* alloca (__SIZE_TYPE__);
diff --git a/gcc/testsuite/c-c++-common/Wdangling-pointer.c b/gcc/testsuite/c-c++-common/Wdangling-pointer.c
index 0a18c3c..394ff92 100644
--- a/gcc/testsuite/c-c++-common/Wdangling-pointer.c
+++ b/gcc/testsuite/c-c++-common/Wdangling-pointer.c
@@ -2,8 +2,7 @@
variable within the same function
Exercise basic cases of -Wdangling-pointer without optimization.
{ dg-do compile }
- { dg-options "-O0 -Wall -Wno-uninitialized -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O0 -Wall -Wno-uninitialized -ftrack-macro-expansion=0" } */
typedef __INTPTR_TYPE__ intptr_t;
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c b/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
index 343b625..323fbe6 100644
--- a/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
+++ b/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
@@ -1,6 +1,5 @@
/* PR c/7652 */
/* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
/* { dg-options "-Wimplicit-fallthrough" } */
extern void bar (int);
diff --git a/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess1.c b/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess1.c
index 6c8866d..d204e5f 100644
--- a/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess1.c
+++ b/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess1.c
@@ -2,7 +2,6 @@
/* { dg-do compile } */
/* { dg-options "-Wall -Wno-array-bounds -Wno-sizeof-array-argument -Wno-stringop-overflow -Wno-stringop-overread" } */
/* { dg-options "-Wall -Wno-array-bounds -Wno-sizeof-array-argument -Wno-c++-compat -Wno-stringop-overflow -Wno-stringop-overread" { target c } } */
-/* { dg-require-effective-target alloca } */
typedef __SIZE_TYPE__ size_t;
#ifdef __cplusplus
diff --git a/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c b/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c
index d9a1555..d2f6260 100644
--- a/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c
+++ b/gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c
@@ -2,7 +2,6 @@
/* { dg-do compile } */
/* { dg-options "-Wall -O2 -Wno-array-bounds -Wno-sizeof-array-argument -Wno-stringop-truncation -ftrack-macro-expansion=0" } */
/* { dg-options "-Wall -O2 -Wno-array-bounds -Wno-sizeof-array-argument -Wno-stringop-truncation -Wno-c++-compat -ftrack-macro-expansion=0" {target c} } */
-/* { dg-require-effective-target alloca } */
#define bos(ptr) __builtin_object_size (ptr, 1)
#define bos0(ptr) __builtin_object_size (ptr, 0)
diff --git a/gcc/testsuite/c-c++-common/Wstringop-truncation.c b/gcc/testsuite/c-c++-common/Wstringop-truncation.c
index 114837b..57b61cd 100644
--- a/gcc/testsuite/c-c++-common/Wstringop-truncation.c
+++ b/gcc/testsuite/c-c++-common/Wstringop-truncation.c
@@ -1,7 +1,6 @@
/* PR middle-end/81117 - Improve buffer overflow checking in strncpy
{ dg-do compile }
- { dg-options "-O2 -Wstringop-truncation -Wno-stringop-overflow -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O2 -Wstringop-truncation -Wno-stringop-overflow -ftrack-macro-expansion=0" } */
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/c-c++-common/Wunused-var-6.c b/gcc/testsuite/c-c++-common/Wunused-var-6.c
index 12a7ddd..1217719 100644
--- a/gcc/testsuite/c-c++-common/Wunused-var-6.c
+++ b/gcc/testsuite/c-c++-common/Wunused-var-6.c
@@ -1,7 +1,6 @@
/* PR c/43981 */
/* { dg-do compile } */
/* { dg-options "-Wunused" } */
-/* { dg-require-effective-target alloca } */
void g (char *);
diff --git a/gcc/testsuite/c-c++-common/Wunused-var-8.c b/gcc/testsuite/c-c++-common/Wunused-var-8.c
index 8c49ed2..0923b35 100644
--- a/gcc/testsuite/c-c++-common/Wunused-var-8.c
+++ b/gcc/testsuite/c-c++-common/Wunused-var-8.c
@@ -1,7 +1,6 @@
/* Origin: PR c++/44108 */
/* { dg-options "-Wunused" } */
/* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
int
foo ()
diff --git a/gcc/testsuite/c-c++-common/analyzer/alloca-leak.c b/gcc/testsuite/c-c++-common/analyzer/alloca-leak.c
index 073f97e..f8b034f 100644
--- a/gcc/testsuite/c-c++-common/analyzer/alloca-leak.c
+++ b/gcc/testsuite/c-c++-common/analyzer/alloca-leak.c
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
void *test (void)
{
void *ptr = __builtin_alloca (64);
diff --git a/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-2.c b/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-2.c
index cfd6b4f..5de7817 100644
--- a/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-2.c
+++ b/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-2.c
@@ -1,5 +1,4 @@
/* { dg-additional-options "-fdiagnostics-path-format=inline-events -fdiagnostics-show-caret -fanalyzer-fine-grained" } */
-/* { dg-require-effective-target alloca } */
#include <stdint.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-3.c b/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-3.c
index eeb5219..171a838 100644
--- a/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-3.c
+++ b/gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-3.c
@@ -2,7 +2,6 @@
macro in a system header), and that the output looks correct. */
/* { dg-additional-options "-fdiagnostics-path-format=inline-events -fdiagnostics-show-caret -fanalyzer-fine-grained" } */
-/* { dg-require-effective-target alloca } */
#include <stdint.h>
#include "../../gcc.dg/analyzer/test-alloca.h"
diff --git a/gcc/testsuite/c-c++-common/analyzer/capacity-1.c b/gcc/testsuite/c-c++-common/analyzer/capacity-1.c
index 76905a6..a7674b2 100644
--- a/gcc/testsuite/c-c++-common/analyzer/capacity-1.c
+++ b/gcc/testsuite/c-c++-common/analyzer/capacity-1.c
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
/* { dg-skip-if "" { powerpc*-*-aix* } } */
/* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
diff --git a/gcc/testsuite/c-c++-common/analyzer/capacity-3.c b/gcc/testsuite/c-c++-common/analyzer/capacity-3.c
index 2fcf707..4d158b5 100644
--- a/gcc/testsuite/c-c++-common/analyzer/capacity-3.c
+++ b/gcc/testsuite/c-c++-common/analyzer/capacity-3.c
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
/* { dg-skip-if "requires hosted libstdc++ for stdlib size_t" { ! hostedlib } } */
#include <stdlib.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/imprecise-floating-point-1.c b/gcc/testsuite/c-c++-common/analyzer/imprecise-floating-point-1.c
index b093a3c..d3c4798 100644
--- a/gcc/testsuite/c-c++-common/analyzer/imprecise-floating-point-1.c
+++ b/gcc/testsuite/c-c++-common/analyzer/imprecise-floating-point-1.c
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
/* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
#include <stdlib.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-alloca.c b/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-alloca.c
index 87727e8..8c50631 100644
--- a/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-alloca.c
+++ b/gcc/testsuite/c-c++-common/analyzer/infinite-recursion-alloca.c
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
typedef __SIZE_TYPE__ size_t;
int test_alloca_1 (void)
diff --git a/gcc/testsuite/c-c++-common/analyzer/malloc-callbacks.c b/gcc/testsuite/c-c++-common/analyzer/malloc-callbacks.c
index 422b403..486447c 100644
--- a/gcc/testsuite/c-c++-common/analyzer/malloc-callbacks.c
+++ b/gcc/testsuite/c-c++-common/analyzer/malloc-callbacks.c
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
/* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
#include <stdlib.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/malloc-paths-8.c b/gcc/testsuite/c-c++-common/analyzer/malloc-paths-8.c
index ca48834..77e3e02 100644
--- a/gcc/testsuite/c-c++-common/analyzer/malloc-paths-8.c
+++ b/gcc/testsuite/c-c++-common/analyzer/malloc-paths-8.c
@@ -1,5 +1,4 @@
/* { dg-additional-options "-fanalyzer-transitivity" } */
-/* { dg-require-effective-target alloca } */
/* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
#include <stddef.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-5.c b/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-5.c
index 4d15b16..3501d300 100644
--- a/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-5.c
+++ b/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-5.c
@@ -1,5 +1,4 @@
/* { dg-additional-options "-Wno-unused-but-set-variable" } */
-/* { dg-require-effective-target alloca } */
#include <string.h>
#include <stdlib.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-diagram-11.c b/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-diagram-11.c
index 048a1b9..89d1566 100644
--- a/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-diagram-11.c
+++ b/gcc/testsuite/c-c++-common/analyzer/out-of-bounds-diagram-11.c
@@ -1,5 +1,4 @@
/* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */
-/* { dg-require-effective-target alloca } */
#include <stdlib.h>
#include <stdint.h>
diff --git a/gcc/testsuite/c-c++-common/analyzer/uninit-alloca.c b/gcc/testsuite/c-c++-common/analyzer/uninit-alloca.c
index d8c8421..82ed599 100644
--- a/gcc/testsuite/c-c++-common/analyzer/uninit-alloca.c
+++ b/gcc/testsuite/c-c++-common/analyzer/uninit-alloca.c
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
int test_1 (void)
{
int *p = (int *) __builtin_alloca (sizeof (int)); /* { dg-message "region created on stack here" } */
diff --git a/gcc/testsuite/c-c++-common/analyzer/write-to-string-literal-5.c b/gcc/testsuite/c-c++-common/analyzer/write-to-string-literal-5.c
index a949f15..2ecad8c 100644
--- a/gcc/testsuite/c-c++-common/analyzer/write-to-string-literal-5.c
+++ b/gcc/testsuite/c-c++-common/analyzer/write-to-string-literal-5.c
@@ -2,7 +2,6 @@
notes) works. */
/* { dg-additional-options "-fanalyzer-show-duplicate-count" } */
-/* { dg-require-effective-target alloca } */
#include "../../gcc.dg/analyzer/analyzer-decls.h"
diff --git a/gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c b/gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c
index 86f0ce6..d52ca78 100644
--- a/gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c
+++ b/gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c
@@ -1,5 +1,4 @@
/* { dg-do run } */
-/* { dg-require-effective-target alloca } */
/* { dg-options "--param=asan-use-after-return=0" } */
/* This testcase checks that allocas and VLAs inside loop are correctly unpoisoned. */
diff --git a/gcc/testsuite/c-c++-common/auto-init-11.c b/gcc/testsuite/c-c++-common/auto-init-11.c
index aafa215..6eb4687 100644
--- a/gcc/testsuite/c-c++-common/auto-init-11.c
+++ b/gcc/testsuite/c-c++-common/auto-init-11.c
@@ -1,7 +1,6 @@
/* Verify zero initialization for VLA automatic variables. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=zero -fdump-tree-gimple" } */
-/* { dg-require-effective-target alloca } */
extern void bar (int);
diff --git a/gcc/testsuite/c-c++-common/auto-init-12.c b/gcc/testsuite/c-c++-common/auto-init-12.c
index c073bc9..964291c 100644
--- a/gcc/testsuite/c-c++-common/auto-init-12.c
+++ b/gcc/testsuite/c-c++-common/auto-init-12.c
@@ -1,7 +1,6 @@
/* Verify zero initialization for VLA automatic variables. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=pattern -fdump-tree-gimple" } */
-/* { dg-require-effective-target alloca } */
extern void bar (int);
diff --git a/gcc/testsuite/c-c++-common/auto-init-15.c b/gcc/testsuite/c-c++-common/auto-init-15.c
index 77710a9..5857287 100644
--- a/gcc/testsuite/c-c++-common/auto-init-15.c
+++ b/gcc/testsuite/c-c++-common/auto-init-15.c
@@ -1,7 +1,6 @@
/* Verify the auto initialization of nested VLA. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=zero -fdump-tree-gimple" } */
-/* { dg-require-effective-target alloca } */
void g(void *);
diff --git a/gcc/testsuite/c-c++-common/auto-init-16.c b/gcc/testsuite/c-c++-common/auto-init-16.c
index 3714bc3..1e30995 100644
--- a/gcc/testsuite/c-c++-common/auto-init-16.c
+++ b/gcc/testsuite/c-c++-common/auto-init-16.c
@@ -1,7 +1,6 @@
/* Verify the auto initialization of nested VLA. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=pattern -fdump-tree-gimple" } */
-/* { dg-require-effective-target alloca } */
void g(void *);
diff --git a/gcc/testsuite/c-c++-common/builtins.c b/gcc/testsuite/c-c++-common/builtins.c
index f44d0d3..3bc5ded 100644
--- a/gcc/testsuite/c-c++-common/builtins.c
+++ b/gcc/testsuite/c-c++-common/builtins.c
@@ -3,8 +3,7 @@
{ dg-do compile }
{ dg-options "-O2 -Wall -Wextra" }
{ dg-additional-options "-std=gnu17 -fpermissive" { target c } }
- { dg-prune-output "warning" }
- { dg-require-effective-target alloca } */
+ { dg-prune-output "warning" } */
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/c-c++-common/dwarf2/vla1.c b/gcc/testsuite/c-c++-common/dwarf2/vla1.c
index f71f8f0..e814bf5 100644
--- a/gcc/testsuite/c-c++-common/dwarf2/vla1.c
+++ b/gcc/testsuite/c-c++-common/dwarf2/vla1.c
@@ -1,7 +1,6 @@
// PR debug/42800
// { dg-options "-gdwarf-2 -dA" }
// { dg-final { scan-assembler "DW_AT_upper_bound" } }
-// { dg-require-effective-target alloca }
int
f (int i)
diff --git a/gcc/testsuite/c-c++-common/gomp/pr61486-2.c b/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
index c86fd91..5e9fa47 100644
--- a/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
+++ b/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
@@ -1,6 +1,5 @@
/* PR middle-end/61486 */
/* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
#pragma omp declare target
void dosomething (int *a, int n, int m);
diff --git a/gcc/testsuite/c-c++-common/torture/builtin-clear-padding-4.c b/gcc/testsuite/c-c++-common/torture/builtin-clear-padding-4.c
index ebc5893..b98e96d 100644
--- a/gcc/testsuite/c-c++-common/torture/builtin-clear-padding-4.c
+++ b/gcc/testsuite/c-c++-common/torture/builtin-clear-padding-4.c
@@ -1,6 +1,5 @@
/* PR libstdc++/88101 */
/* { dg-do run } */
-/* { dg-require-effective-target alloca } */
struct S { char a; short b; char c; };
diff --git a/gcc/testsuite/c-c++-common/torture/strub-run3.c b/gcc/testsuite/c-c++-common/torture/strub-run3.c
index e5047a9..e29055d 100644
--- a/gcc/testsuite/c-c++-common/torture/strub-run3.c
+++ b/gcc/testsuite/c-c++-common/torture/strub-run3.c
@@ -1,6 +1,5 @@
/* { dg-do run } */
/* { dg-options "-fstrub=strict" } */
-/* { dg-require-effective-target alloca } */
/* { dg-require-effective-target strub } */
/* Check that a non-strub function leaves a string behind in the stack, and that
diff --git a/gcc/testsuite/c-c++-common/torture/strub-run4.c b/gcc/testsuite/c-c++-common/torture/strub-run4.c
index 0e84a4b..469405d 100644
--- a/gcc/testsuite/c-c++-common/torture/strub-run4.c
+++ b/gcc/testsuite/c-c++-common/torture/strub-run4.c
@@ -1,6 +1,5 @@
/* { dg-do run } */
/* { dg-options "-fstrub=all" } */
-/* { dg-require-effective-target alloca } */
/* { dg-require-effective-target strub } */
/* Check that multi-level, multi-inlined functions still get cleaned up as
diff --git a/gcc/testsuite/c-c++-common/torture/strub-run4c.c b/gcc/testsuite/c-c++-common/torture/strub-run4c.c
index edc9848..8da6cac 100644
--- a/gcc/testsuite/c-c++-common/torture/strub-run4c.c
+++ b/gcc/testsuite/c-c++-common/torture/strub-run4c.c
@@ -1,6 +1,5 @@
/* { dg-do run } */
/* { dg-options "-fstrub=at-calls" } */
-/* { dg-require-effective-target alloca } */
/* { dg-require-effective-target strub } */
#include "strub-run4.c"
diff --git a/gcc/testsuite/c-c++-common/torture/strub-run4d.c b/gcc/testsuite/c-c++-common/torture/strub-run4d.c
index 487ed08..753f5fc 100644
--- a/gcc/testsuite/c-c++-common/torture/strub-run4d.c
+++ b/gcc/testsuite/c-c++-common/torture/strub-run4d.c
@@ -1,6 +1,5 @@
/* { dg-do run } */
/* { dg-options "-fstrub=strict" } */
-/* { dg-require-effective-target alloca } */
/* { dg-require-effective-target strub } */
#define ATTR_STRUB_AT_CALLS __attribute__ ((__strub__ ("at-calls")))
diff --git a/gcc/testsuite/c-c++-common/torture/strub-run4i.c b/gcc/testsuite/c-c++-common/torture/strub-run4i.c
index a85447f..6f7bdd2 100644
--- a/gcc/testsuite/c-c++-common/torture/strub-run4i.c
+++ b/gcc/testsuite/c-c++-common/torture/strub-run4i.c
@@ -1,6 +1,5 @@
/* { dg-do run } */
/* { dg-options "-fstrub=internal" } */
-/* { dg-require-effective-target alloca } */
/* { dg-require-effective-target strub } */
#include "strub-run4.c"