]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Turn test cases into UNSUPPORTED if running into 'sorry, unimplemented: dynamic stack...
authorThomas Schwinge <tschwinge@baylibre.com>
Fri, 21 Feb 2025 10:21:08 +0000 (11:21 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Sat, 22 Feb 2025 21:37:51 +0000 (22:37 +0100)
In Subversion r217296 (Git commit e2acc079ff125a869159be45371dc0a29b230e92)
"Testsuite alloca fixes for ptx", effective-target 'alloca' was added to mark
up test cases that run into the nvptx back end's non-support of dynamic stack
allocation.  (Later, nvptx gained conditional support for that in
commit 3861d362ec7e3c50742fc43833fe9d8674f4070e
"nvptx: PTX 'alloca' for '-mptx=7.3'+, '-march=sm_52'+ [PR65181]", but on the
other hand, in commit f93a612fc4567652b75ffc916d31a446378e6613
"bpf: liberate R9 for general register allocation", the BPF back end joined
"the list of targets that do not support alloca in target-support.exp".

Manually maintaining the list of test cases requiring effective-target 'alloca'
is notoriously hard, gets out of date quickly: new test cases added to the test
suite may need to be analyzed and annotated, and over time annotations also may
need to be removed, in cases where the compiler learns to optimize out
'alloca'/VLA usage, for example.  This commit replaces (99 % of) the manual
annotations with an automatic scheme: turn test cases into UNSUPPORTED if
running into 'sorry, unimplemented: dynamic stack allocation not supported'.

gcc/testsuite/
* lib/target-supports.exp (check_effective_target_alloca):
Gracefully handle the case that we've not be called (indirectly)
from 'dg-test'.
* lib/gcc-dg.exp (proc gcc-dg-prune): Turn
'sorry, unimplemented: dynamic stack allocation not supported' into
UNSUPPORTED.
* c-c++-common/Walloca-larger-than.c: Don't
'dg-require-effective-target alloca'.
* c-c++-common/Warray-bounds-9.c: Likewise.
* c-c++-common/Warray-bounds.c: Likewise.
* c-c++-common/Wdangling-pointer-2.c: Likewise.
* c-c++-common/Wdangling-pointer-4.c: Likewise.
* c-c++-common/Wdangling-pointer-5.c: Likewise.
* c-c++-common/Wdangling-pointer.c: Likewise.
* c-c++-common/Wimplicit-fallthrough-7.c: Likewise.
* c-c++-common/Wsizeof-pointer-memaccess1.c: Likewise.
* c-c++-common/Wsizeof-pointer-memaccess2.c: Likewise.
* c-c++-common/Wstringop-truncation.c: Likewise.
* c-c++-common/Wunused-var-6.c: Likewise.
* c-c++-common/Wunused-var-8.c: Likewise.
* c-c++-common/analyzer/alloca-leak.c: Likewise.
* c-c++-common/analyzer/allocation-size-multiline-2.c: Likewise.
* c-c++-common/analyzer/allocation-size-multiline-3.c: Likewise.
* c-c++-common/analyzer/capacity-1.c: Likewise.
* c-c++-common/analyzer/capacity-3.c: Likewise.
* c-c++-common/analyzer/imprecise-floating-point-1.c: Likewise.
* c-c++-common/analyzer/infinite-recursion-alloca.c: Likewise.
* c-c++-common/analyzer/malloc-callbacks.c: Likewise.
* c-c++-common/analyzer/malloc-paths-8.c: Likewise.
* c-c++-common/analyzer/out-of-bounds-5.c: Likewise.
* c-c++-common/analyzer/out-of-bounds-diagram-11.c: Likewise.
* c-c++-common/analyzer/uninit-alloca.c: Likewise.
* c-c++-common/analyzer/write-to-string-literal-5.c: Likewise.
* c-c++-common/asan/alloca_loop_unpoisoning.c: Likewise.
* c-c++-common/auto-init-11.c: Likewise.
* c-c++-common/auto-init-12.c: Likewise.
* c-c++-common/auto-init-15.c: Likewise.
* c-c++-common/auto-init-16.c: Likewise.
* c-c++-common/builtins.c: Likewise.
* c-c++-common/dwarf2/vla1.c: Likewise.
* c-c++-common/gomp/pr61486-2.c: Likewise.
* c-c++-common/torture/builtin-clear-padding-4.c: Likewise.
* c-c++-common/torture/strub-run3.c: Likewise.
* c-c++-common/torture/strub-run4.c: Likewise.
* c-c++-common/torture/strub-run4c.c: Likewise.
* c-c++-common/torture/strub-run4d.c: Likewise.
* c-c++-common/torture/strub-run4i.c: Likewise.
* g++.dg/Walloca1.C: Likewise.
* g++.dg/Walloca2.C: Likewise.
* g++.dg/cpp0x/pr70338.C: Likewise.
* g++.dg/cpp1y/lambda-generic-vla1.C: Likewise.
* g++.dg/cpp1y/vla10.C: Likewise.
* g++.dg/cpp1y/vla2.C: Likewise.
* g++.dg/cpp1y/vla6.C: Likewise.
* g++.dg/cpp1y/vla8.C: Likewise.
* g++.dg/debug/debug5.C: Likewise.
* g++.dg/debug/debug6.C: Likewise.
* g++.dg/debug/pr54828.C: Likewise.
* g++.dg/diagnostic/pr70105.C: Likewise.
* g++.dg/eh/cleanup5.C: Likewise.
* g++.dg/eh/spbp.C: Likewise.
* g++.dg/ext/builtin_alloca.C: Likewise.
* g++.dg/ext/tmplattr9.C: Likewise.
* g++.dg/ext/vla10.C: Likewise.
* g++.dg/ext/vla11.C: Likewise.
* g++.dg/ext/vla12.C: Likewise.
* g++.dg/ext/vla15.C: Likewise.
* g++.dg/ext/vla16.C: Likewise.
* g++.dg/ext/vla17.C: Likewise.
* g++.dg/ext/vla23.C: Likewise.
* g++.dg/ext/vla3.C: Likewise.
* g++.dg/ext/vla6.C: Likewise.
* g++.dg/ext/vla7.C: Likewise.
* g++.dg/init/array24.C: Likewise.
* g++.dg/init/new47.C: Likewise.
* g++.dg/init/pr55497.C: Likewise.
* g++.dg/opt/pr78201.C: Likewise.
* g++.dg/template/vla2.C: Likewise.
* g++.dg/torture/Wsizeof-pointer-memaccess1.C: Likewise.
* g++.dg/torture/Wsizeof-pointer-memaccess2.C: Likewise.
* g++.dg/torture/pr62127.C: Likewise.
* g++.dg/torture/pr67055.C: Likewise.
* g++.dg/torture/stackalign/eh-alloca-1.C: Likewise.
* g++.dg/torture/stackalign/eh-inline-2.C: Likewise.
* g++.dg/torture/stackalign/eh-vararg-1.C: Likewise.
* g++.dg/torture/stackalign/eh-vararg-2.C: Likewise.
* g++.dg/warn/Wplacement-new-size-5.C: Likewise.
* g++.dg/warn/Wsizeof-pointer-memaccess-1.C: Likewise.
* g++.dg/warn/Wvla-1.C: Likewise.
* g++.dg/warn/Wvla-3.C: Likewise.
* g++.old-deja/g++.ext/array2.C: Likewise.
* g++.old-deja/g++.ext/constructor.C: Likewise.
* g++.old-deja/g++.law/builtin1.C: Likewise.
* g++.old-deja/g++.other/crash12.C: Likewise.
* g++.old-deja/g++.other/eh3.C: Likewise.
* g++.old-deja/g++.pt/array6.C: Likewise.
* g++.old-deja/g++.pt/dynarray.C: Likewise.
* gcc.c-torture/compile/20000923-1.c: Likewise.
* gcc.c-torture/compile/20030224-1.c: Likewise.
* gcc.c-torture/compile/20071108-1.c: Likewise.
* gcc.c-torture/compile/20071117-1.c: Likewise.
* gcc.c-torture/compile/900313-1.c: Likewise.
* gcc.c-torture/compile/parms.c: Likewise.
* gcc.c-torture/compile/pr17397.c: Likewise.
* gcc.c-torture/compile/pr35006.c: Likewise.
* gcc.c-torture/compile/pr42956.c: Likewise.
* gcc.c-torture/compile/pr51354.c: Likewise.
* gcc.c-torture/compile/pr52714.c: Likewise.
* gcc.c-torture/compile/pr55851.c: Likewise.
* gcc.c-torture/compile/pr77754-1.c: Likewise.
* gcc.c-torture/compile/pr77754-2.c: Likewise.
* gcc.c-torture/compile/pr77754-3.c: Likewise.
* gcc.c-torture/compile/pr77754-4.c: Likewise.
* gcc.c-torture/compile/pr77754-5.c: Likewise.
* gcc.c-torture/compile/pr77754-6.c: Likewise.
* gcc.c-torture/compile/pr78439.c: Likewise.
* gcc.c-torture/compile/pr79413.c: Likewise.
* gcc.c-torture/compile/pr82564.c: Likewise.
* gcc.c-torture/compile/pr87110.c: Likewise.
* gcc.c-torture/compile/pr99787-1.c: Likewise.
* gcc.c-torture/compile/vla-const-1.c: Likewise.
* gcc.c-torture/compile/vla-const-2.c: Likewise.
* gcc.c-torture/execute/20010209-1.c: Likewise.
* gcc.c-torture/execute/20020314-1.c: Likewise.
* gcc.c-torture/execute/20020412-1.c: Likewise.
* gcc.c-torture/execute/20021113-1.c: Likewise.
* gcc.c-torture/execute/20040223-1.c: Likewise.
* gcc.c-torture/execute/20040308-1.c: Likewise.
* gcc.c-torture/execute/20040811-1.c: Likewise.
* gcc.c-torture/execute/20070824-1.c: Likewise.
* gcc.c-torture/execute/20070919-1.c: Likewise.
* gcc.c-torture/execute/built-in-setjmp.c: Likewise.
* gcc.c-torture/execute/pr22061-1.c: Likewise.
* gcc.c-torture/execute/pr43220.c: Likewise.
* gcc.c-torture/execute/pr82210.c: Likewise.
* gcc.c-torture/execute/pr86528.c: Likewise.
* gcc.c-torture/execute/vla-dealloc-1.c: Likewise.
* gcc.dg/20001012-2.c: Likewise.
* gcc.dg/20020415-1.c: Likewise.
* gcc.dg/20030331-2.c: Likewise.
* gcc.dg/20101010-1.c: Likewise.
* gcc.dg/Walloca-1.c: Likewise.
* gcc.dg/Walloca-10.c: Likewise.
* gcc.dg/Walloca-11.c: Likewise.
* gcc.dg/Walloca-12.c: Likewise.
* gcc.dg/Walloca-13.c: Likewise.
* gcc.dg/Walloca-14.c: Likewise.
* gcc.dg/Walloca-15.c: Likewise.
* gcc.dg/Walloca-2.c: Likewise.
* gcc.dg/Walloca-3.c: Likewise.
* gcc.dg/Walloca-4.c: Likewise.
* gcc.dg/Walloca-5.c: Likewise.
* gcc.dg/Walloca-6.c: Likewise.
* gcc.dg/Walloca-7.c: Likewise.
* gcc.dg/Walloca-8.c: Likewise.
* gcc.dg/Walloca-9.c: Likewise.
* gcc.dg/Walloca-larger-than-2.c: Likewise.
* gcc.dg/Walloca-larger-than-3.c: Likewise.
* gcc.dg/Walloca-larger-than-4.c: Likewise.
* gcc.dg/Walloca-larger-than.c: Likewise.
* gcc.dg/Warray-bounds-22.c: Likewise.
* gcc.dg/Warray-bounds-41.c: Likewise.
* gcc.dg/Warray-bounds-46.c: Likewise.
* gcc.dg/Warray-bounds-48-novec.c: Likewise.
* gcc.dg/Warray-bounds-48.c: Likewise.
* gcc.dg/Warray-bounds-50.c: Likewise.
* gcc.dg/Warray-bounds-63.c: Likewise.
* gcc.dg/Warray-bounds-66.c: Likewise.
* gcc.dg/Wdangling-pointer.c: Likewise.
* gcc.dg/Wfree-nonheap-object-2.c: Likewise.
* gcc.dg/Wfree-nonheap-object.c: Likewise.
* gcc.dg/Wrestrict-17.c: Likewise.
* gcc.dg/Wrestrict.c: Likewise.
* gcc.dg/Wreturn-local-addr-2.c: Likewise.
* gcc.dg/Wreturn-local-addr-3.c: Likewise.
* gcc.dg/Wreturn-local-addr-4.c: Likewise.
* gcc.dg/Wreturn-local-addr-6.c: Likewise.
* gcc.dg/Wsizeof-pointer-memaccess1.c: Likewise.
* gcc.dg/Wstack-usage.c: Likewise.
* gcc.dg/Wstrict-aliasing-bogus-vla-1.c: Likewise.
* gcc.dg/Wstrict-overflow-27.c: Likewise.
* gcc.dg/Wstringop-overflow-15.c: Likewise.
* gcc.dg/Wstringop-overflow-23.c: Likewise.
* gcc.dg/Wstringop-overflow-25.c: Likewise.
* gcc.dg/Wstringop-overflow-27.c: Likewise.
* gcc.dg/Wstringop-overflow-3.c: Likewise.
* gcc.dg/Wstringop-overflow-39.c: Likewise.
* gcc.dg/Wstringop-overflow-56.c: Likewise.
* gcc.dg/Wstringop-overflow-57.c: Likewise.
* gcc.dg/Wstringop-overflow-67.c: Likewise.
* gcc.dg/Wstringop-overflow-71.c: Likewise.
* gcc.dg/Wstringop-truncation-3.c: Likewise.
* gcc.dg/Wvla-larger-than-1.c: Likewise.
* gcc.dg/Wvla-larger-than-2.c: Likewise.
* gcc.dg/Wvla-larger-than-3.c: Likewise.
* gcc.dg/Wvla-larger-than-4.c: Likewise.
* gcc.dg/Wvla-larger-than-5.c: Likewise.
* gcc.dg/analyzer/boxed-malloc-1.c: Likewise.
* gcc.dg/analyzer/call-summaries-2.c: Likewise.
* gcc.dg/analyzer/malloc-1.c: Likewise.
* gcc.dg/analyzer/malloc-reuse.c: Likewise.
* gcc.dg/analyzer/out-of-bounds-diagram-12.c: Likewise.
* gcc.dg/analyzer/pr93355-localealias.c: Likewise.
* gcc.dg/analyzer/putenv-1.c: Likewise.
* gcc.dg/analyzer/taint-alloc-1.c: Likewise.
* gcc.dg/analyzer/torture/pr93373.c: Likewise.
* gcc.dg/analyzer/torture/ubsan-1.c: Likewise.
* gcc.dg/analyzer/vla-1.c: Likewise.
* gcc.dg/atomic/stdatomic-vm.c: Likewise.
* gcc.dg/attr-alloc_size-6.c: Likewise.
* gcc.dg/attr-alloc_size-7.c: Likewise.
* gcc.dg/attr-alloc_size-8.c: Likewise.
* gcc.dg/attr-alloc_size-9.c: Likewise.
* gcc.dg/attr-noipa.c: Likewise.
* gcc.dg/auto-init-uninit-36.c: Likewise.
* gcc.dg/auto-init-uninit-9.c: Likewise.
* gcc.dg/auto-type-1.c: Likewise.
* gcc.dg/builtin-alloc-size.c: Likewise.
* gcc.dg/builtin-dynamic-alloc-size.c: Likewise.
* gcc.dg/builtin-dynamic-object-size-1.c: Likewise.
* gcc.dg/builtin-dynamic-object-size-2.c: Likewise.
* gcc.dg/builtin-dynamic-object-size-3.c: Likewise.
* gcc.dg/builtin-dynamic-object-size-4.c: Likewise.
* gcc.dg/builtin-object-size-1.c: Likewise.
* gcc.dg/builtin-object-size-2.c: Likewise.
* gcc.dg/builtin-object-size-3.c: Likewise.
* gcc.dg/builtin-object-size-4.c: Likewise.
* gcc.dg/builtins-64.c: Likewise.
* gcc.dg/builtins-68.c: Likewise.
* gcc.dg/c23-auto-2.c: Likewise.
* gcc.dg/c99-const-expr-13.c: Likewise.
* gcc.dg/c99-vla-1.c: Likewise.
* gcc.dg/fold-alloca-1.c: Likewise.
* gcc.dg/gomp/pr30494.c: Likewise.
* gcc.dg/gomp/vla-2.c: Likewise.
* gcc.dg/gomp/vla-3.c: Likewise.
* gcc.dg/gomp/vla-4.c: Likewise.
* gcc.dg/gomp/vla-5.c: Likewise.
* gcc.dg/graphite/pr99085.c: Likewise.
* gcc.dg/guality/guality.c: Likewise.
* gcc.dg/lto/pr80778_0.c: Likewise.
* gcc.dg/nested-func-10.c: Likewise.
* gcc.dg/nested-func-12.c: Likewise.
* gcc.dg/nested-func-13.c: Likewise.
* gcc.dg/nested-func-14.c: Likewise.
* gcc.dg/nested-func-15.c: Likewise.
* gcc.dg/nested-func-16.c: Likewise.
* gcc.dg/nested-func-17.c: Likewise.
* gcc.dg/nested-func-9.c: Likewise.
* gcc.dg/packed-vla.c: Likewise.
* gcc.dg/pr100225.c: Likewise.
* gcc.dg/pr25682.c: Likewise.
* gcc.dg/pr27301.c: Likewise.
* gcc.dg/pr31507-1.c: Likewise.
* gcc.dg/pr33238.c: Likewise.
* gcc.dg/pr41470.c: Likewise.
* gcc.dg/pr49120.c: Likewise.
* gcc.dg/pr50764.c: Likewise.
* gcc.dg/pr51491-2.c: Likewise.
* gcc.dg/pr51990-2.c: Likewise.
* gcc.dg/pr51990.c: Likewise.
* gcc.dg/pr59011.c: Likewise.
* gcc.dg/pr59523.c: Likewise.
* gcc.dg/pr61561.c: Likewise.
* gcc.dg/pr78468.c: Likewise.
* gcc.dg/pr78902.c: Likewise.
* gcc.dg/pr79972.c: Likewise.
* gcc.dg/pr82875.c: Likewise.
* gcc.dg/pr83844.c: Likewise.
* gcc.dg/pr84131.c: Likewise.
* gcc.dg/pr87099.c: Likewise.
* gcc.dg/pr87320.c: Likewise.
* gcc.dg/pr89045.c: Likewise.
* gcc.dg/pr91014.c: Likewise.
* gcc.dg/pr93986.c: Likewise.
* gcc.dg/pr98721-1.c: Likewise.
* gcc.dg/pr99122-2.c: Likewise.
* gcc.dg/shrink-wrap-alloca.c: Likewise.
* gcc.dg/sso-14.c: Likewise.
* gcc.dg/strlenopt-62.c: Likewise.
* gcc.dg/strlenopt-83.c: Likewise.
* gcc.dg/strlenopt-84.c: Likewise.
* gcc.dg/strlenopt-91.c: Likewise.
* gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Likewise.
* gcc.dg/torture/calleesave-sse.c: Likewise.
* gcc.dg/torture/pr48953.c: Likewise.
* gcc.dg/torture/pr71881.c: Likewise.
* gcc.dg/torture/pr71901.c: Likewise.
* gcc.dg/torture/pr78742.c: Likewise.
* gcc.dg/torture/pr92088-1.c: Likewise.
* gcc.dg/torture/pr92088-2.c: Likewise.
* gcc.dg/torture/pr93124.c: Likewise.
* gcc.dg/torture/pr94479.c: Likewise.
* gcc.dg/torture/stackalign/alloca-1.c: Likewise.
* gcc.dg/torture/stackalign/inline-2.c: Likewise.
* gcc.dg/torture/stackalign/nested-3.c: Likewise.
* gcc.dg/torture/stackalign/vararg-1.c: Likewise.
* gcc.dg/torture/stackalign/vararg-2.c: Likewise.
* gcc.dg/tree-ssa/20030807-2.c: Likewise.
* gcc.dg/tree-ssa/20080530.c: Likewise.
* gcc.dg/tree-ssa/alias-37.c: Likewise.
* gcc.dg/tree-ssa/builtin-sprintf-warn-22.c: Likewise.
* gcc.dg/tree-ssa/builtin-sprintf-warn-25.c: Likewise.
* gcc.dg/tree-ssa/builtin-sprintf-warn-3.c: Likewise.
* gcc.dg/tree-ssa/loop-interchange-15.c: Likewise.
* gcc.dg/tree-ssa/pr23848-1.c: Likewise.
* gcc.dg/tree-ssa/pr23848-2.c: Likewise.
* gcc.dg/tree-ssa/pr23848-3.c: Likewise.
* gcc.dg/tree-ssa/pr23848-4.c: Likewise.
* gcc.dg/uninit-32.c: Likewise.
* gcc.dg/uninit-36.c: Likewise.
* gcc.dg/uninit-39.c: Likewise.
* gcc.dg/uninit-41.c: Likewise.
* gcc.dg/uninit-9-O0.c: Likewise.
* gcc.dg/uninit-9.c: Likewise.
* gcc.dg/uninit-pr100250.c: Likewise.
* gcc.dg/uninit-pr101300.c: Likewise.
* gcc.dg/uninit-pr101494.c: Likewise.
* gcc.dg/uninit-pr98583.c: Likewise.
* gcc.dg/vla-2.c: Likewise.
* gcc.dg/vla-22.c: Likewise.
* gcc.dg/vla-24.c: Likewise.
* gcc.dg/vla-3.c: Likewise.
* gcc.dg/vla-4.c: Likewise.
* gcc.dg/vla-stexp-1.c: Likewise.
* gcc.dg/vla-stexp-2.c: Likewise.
* gcc.dg/vla-stexp-4.c: Likewise.
* gcc.dg/vla-stexp-5.c: Likewise.
* gcc.dg/winline-7.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-1.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-10.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-2.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-3.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-4.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-5.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-6.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-7.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-8.c: Likewise.
* gcc.target/aarch64/stack-check-alloca-9.c: Likewise.
* gcc.target/arc/interrupt-6.c: Likewise.
* gcc.target/i386/pr80969-3.c: Likewise.
* gcc.target/loongarch/stack-check-alloca-1.c: Likewise.
* gcc.target/loongarch/stack-check-alloca-2.c: Likewise.
* gcc.target/loongarch/stack-check-alloca-3.c: Likewise.
* gcc.target/loongarch/stack-check-alloca-4.c: Likewise.
* gcc.target/loongarch/stack-check-alloca-5.c: Likewise.
* gcc.target/loongarch/stack-check-alloca-6.c: Likewise.
* gcc.target/riscv/stack-check-alloca-1.c: Likewise.
* gcc.target/riscv/stack-check-alloca-10.c: Likewise.
* gcc.target/riscv/stack-check-alloca-2.c: Likewise.
* gcc.target/riscv/stack-check-alloca-3.c: Likewise.
* gcc.target/riscv/stack-check-alloca-4.c: Likewise.
* gcc.target/riscv/stack-check-alloca-5.c: Likewise.
* gcc.target/riscv/stack-check-alloca-6.c: Likewise.
* gcc.target/riscv/stack-check-alloca-7.c: Likewise.
* gcc.target/riscv/stack-check-alloca-8.c: Likewise.
* gcc.target/riscv/stack-check-alloca-9.c: Likewise.
* gcc.target/sparc/setjmp-1.c: Likewise.
* gcc.target/x86_64/abi/ms-sysv/ms-sysv.c: Likewise.
* gcc.c-torture/compile/20001221-1.c: Don't 'dg-skip-if'
for '! alloca'.
* gcc.c-torture/compile/20020807-1.c: Likewise.
* gcc.c-torture/compile/20050801-2.c: Likewise.
* gcc.c-torture/compile/920428-4.c: Likewise.
* gcc.c-torture/compile/debugvlafunction-1.c: Likewise.
* gcc.c-torture/compile/pr41469.c: Likewise.
* gcc.c-torture/execute/920721-2.c: Likewise.
* gcc.c-torture/execute/920929-1.c: Likewise.
* gcc.c-torture/execute/921017-1.c: Likewise.
* gcc.c-torture/execute/941202-1.c: Likewise.
* gcc.c-torture/execute/align-nest.c: Likewise.
* gcc.c-torture/execute/alloca-1.c: Likewise.
* gcc.c-torture/execute/pr22061-4.c: Likewise.
* gcc.c-torture/execute/pr36321.c: Likewise.
* gcc.dg/torture/pr8081.c: Likewise.
* gcc.dg/analyzer/data-model-1.c: Don't
'dg-require-effective-target alloca'.  XFAIL relevant
'dg-warning's for '! alloca'.
* gcc.dg/uninit-38.c: Likewise.
* gcc.dg/uninit-pr98578.c: Likewise.
* gcc.dg/compat/struct-by-value-22_main.c: Comment on
'dg-require-effective-target alloca'.
libstdc++-v3/
* testsuite/lib/prune.exp (proc libstdc++-dg-prune): Turn
'sorry, unimplemented: dynamic stack allocation not supported' into
UNSUPPORTED.

374 files changed:
gcc/testsuite/c-c++-common/Walloca-larger-than.c
gcc/testsuite/c-c++-common/Warray-bounds-9.c
gcc/testsuite/c-c++-common/Warray-bounds.c
gcc/testsuite/c-c++-common/Wdangling-pointer-2.c
gcc/testsuite/c-c++-common/Wdangling-pointer-4.c
gcc/testsuite/c-c++-common/Wdangling-pointer-5.c
gcc/testsuite/c-c++-common/Wdangling-pointer.c
gcc/testsuite/c-c++-common/Wimplicit-fallthrough-7.c
gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess1.c
gcc/testsuite/c-c++-common/Wsizeof-pointer-memaccess2.c
gcc/testsuite/c-c++-common/Wstringop-truncation.c
gcc/testsuite/c-c++-common/Wunused-var-6.c
gcc/testsuite/c-c++-common/Wunused-var-8.c
gcc/testsuite/c-c++-common/analyzer/alloca-leak.c
gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-2.c
gcc/testsuite/c-c++-common/analyzer/allocation-size-multiline-3.c
gcc/testsuite/c-c++-common/analyzer/capacity-1.c
gcc/testsuite/c-c++-common/analyzer/capacity-3.c
gcc/testsuite/c-c++-common/analyzer/imprecise-floating-point-1.c
gcc/testsuite/c-c++-common/analyzer/infinite-recursion-alloca.c
gcc/testsuite/c-c++-common/analyzer/malloc-callbacks.c
gcc/testsuite/c-c++-common/analyzer/malloc-paths-8.c
gcc/testsuite/c-c++-common/analyzer/out-of-bounds-5.c
gcc/testsuite/c-c++-common/analyzer/out-of-bounds-diagram-11.c
gcc/testsuite/c-c++-common/analyzer/uninit-alloca.c
gcc/testsuite/c-c++-common/analyzer/write-to-string-literal-5.c
gcc/testsuite/c-c++-common/asan/alloca_loop_unpoisoning.c
gcc/testsuite/c-c++-common/auto-init-11.c
gcc/testsuite/c-c++-common/auto-init-12.c
gcc/testsuite/c-c++-common/auto-init-15.c
gcc/testsuite/c-c++-common/auto-init-16.c
gcc/testsuite/c-c++-common/builtins.c
gcc/testsuite/c-c++-common/dwarf2/vla1.c
gcc/testsuite/c-c++-common/gomp/pr61486-2.c
gcc/testsuite/c-c++-common/torture/builtin-clear-padding-4.c
gcc/testsuite/c-c++-common/torture/strub-run3.c
gcc/testsuite/c-c++-common/torture/strub-run4.c
gcc/testsuite/c-c++-common/torture/strub-run4c.c
gcc/testsuite/c-c++-common/torture/strub-run4d.c
gcc/testsuite/c-c++-common/torture/strub-run4i.c
gcc/testsuite/g++.dg/Walloca1.C
gcc/testsuite/g++.dg/Walloca2.C
gcc/testsuite/g++.dg/cpp0x/pr70338.C
gcc/testsuite/g++.dg/cpp1y/lambda-generic-vla1.C
gcc/testsuite/g++.dg/cpp1y/vla10.C
gcc/testsuite/g++.dg/cpp1y/vla2.C
gcc/testsuite/g++.dg/cpp1y/vla6.C
gcc/testsuite/g++.dg/cpp1y/vla8.C
gcc/testsuite/g++.dg/debug/debug5.C
gcc/testsuite/g++.dg/debug/debug6.C
gcc/testsuite/g++.dg/debug/pr54828.C
gcc/testsuite/g++.dg/diagnostic/pr70105.C
gcc/testsuite/g++.dg/eh/cleanup5.C
gcc/testsuite/g++.dg/eh/spbp.C
gcc/testsuite/g++.dg/ext/builtin_alloca.C
gcc/testsuite/g++.dg/ext/tmplattr9.C
gcc/testsuite/g++.dg/ext/vla10.C
gcc/testsuite/g++.dg/ext/vla11.C
gcc/testsuite/g++.dg/ext/vla12.C
gcc/testsuite/g++.dg/ext/vla15.C
gcc/testsuite/g++.dg/ext/vla16.C
gcc/testsuite/g++.dg/ext/vla17.C
gcc/testsuite/g++.dg/ext/vla23.C
gcc/testsuite/g++.dg/ext/vla3.C
gcc/testsuite/g++.dg/ext/vla6.C
gcc/testsuite/g++.dg/ext/vla7.C
gcc/testsuite/g++.dg/init/array24.C
gcc/testsuite/g++.dg/init/new47.C
gcc/testsuite/g++.dg/init/pr55497.C
gcc/testsuite/g++.dg/opt/pr78201.C
gcc/testsuite/g++.dg/template/vla2.C
gcc/testsuite/g++.dg/torture/Wsizeof-pointer-memaccess1.C
gcc/testsuite/g++.dg/torture/Wsizeof-pointer-memaccess2.C
gcc/testsuite/g++.dg/torture/pr62127.C
gcc/testsuite/g++.dg/torture/pr67055.C
gcc/testsuite/g++.dg/torture/stackalign/eh-alloca-1.C
gcc/testsuite/g++.dg/torture/stackalign/eh-inline-2.C
gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-1.C
gcc/testsuite/g++.dg/torture/stackalign/eh-vararg-2.C
gcc/testsuite/g++.dg/warn/Wplacement-new-size-5.C
gcc/testsuite/g++.dg/warn/Wsizeof-pointer-memaccess-1.C
gcc/testsuite/g++.dg/warn/Wvla-1.C
gcc/testsuite/g++.dg/warn/Wvla-3.C
gcc/testsuite/g++.old-deja/g++.ext/array2.C
gcc/testsuite/g++.old-deja/g++.ext/constructor.C
gcc/testsuite/g++.old-deja/g++.law/builtin1.C
gcc/testsuite/g++.old-deja/g++.other/crash12.C
gcc/testsuite/g++.old-deja/g++.other/eh3.C
gcc/testsuite/g++.old-deja/g++.pt/array6.C
gcc/testsuite/g++.old-deja/g++.pt/dynarray.C
gcc/testsuite/gcc.c-torture/compile/20000923-1.c
gcc/testsuite/gcc.c-torture/compile/20001221-1.c
gcc/testsuite/gcc.c-torture/compile/20020807-1.c
gcc/testsuite/gcc.c-torture/compile/20030224-1.c
gcc/testsuite/gcc.c-torture/compile/20050801-2.c
gcc/testsuite/gcc.c-torture/compile/20071108-1.c
gcc/testsuite/gcc.c-torture/compile/20071117-1.c
gcc/testsuite/gcc.c-torture/compile/900313-1.c
gcc/testsuite/gcc.c-torture/compile/920428-4.c
gcc/testsuite/gcc.c-torture/compile/debugvlafunction-1.c
gcc/testsuite/gcc.c-torture/compile/parms.c
gcc/testsuite/gcc.c-torture/compile/pr17397.c
gcc/testsuite/gcc.c-torture/compile/pr35006.c
gcc/testsuite/gcc.c-torture/compile/pr41469.c
gcc/testsuite/gcc.c-torture/compile/pr42956.c
gcc/testsuite/gcc.c-torture/compile/pr51354.c
gcc/testsuite/gcc.c-torture/compile/pr52714.c
gcc/testsuite/gcc.c-torture/compile/pr55851.c
gcc/testsuite/gcc.c-torture/compile/pr77754-1.c
gcc/testsuite/gcc.c-torture/compile/pr77754-2.c
gcc/testsuite/gcc.c-torture/compile/pr77754-3.c
gcc/testsuite/gcc.c-torture/compile/pr77754-4.c
gcc/testsuite/gcc.c-torture/compile/pr77754-5.c
gcc/testsuite/gcc.c-torture/compile/pr77754-6.c
gcc/testsuite/gcc.c-torture/compile/pr78439.c
gcc/testsuite/gcc.c-torture/compile/pr79413.c
gcc/testsuite/gcc.c-torture/compile/pr82564.c
gcc/testsuite/gcc.c-torture/compile/pr87110.c
gcc/testsuite/gcc.c-torture/compile/pr99787-1.c
gcc/testsuite/gcc.c-torture/compile/vla-const-1.c
gcc/testsuite/gcc.c-torture/compile/vla-const-2.c
gcc/testsuite/gcc.c-torture/execute/20010209-1.c
gcc/testsuite/gcc.c-torture/execute/20020314-1.c
gcc/testsuite/gcc.c-torture/execute/20020412-1.c
gcc/testsuite/gcc.c-torture/execute/20021113-1.c
gcc/testsuite/gcc.c-torture/execute/20040223-1.c
gcc/testsuite/gcc.c-torture/execute/20040308-1.c
gcc/testsuite/gcc.c-torture/execute/20040811-1.c
gcc/testsuite/gcc.c-torture/execute/20070824-1.c
gcc/testsuite/gcc.c-torture/execute/20070919-1.c
gcc/testsuite/gcc.c-torture/execute/920721-2.c
gcc/testsuite/gcc.c-torture/execute/920929-1.c
gcc/testsuite/gcc.c-torture/execute/921017-1.c
gcc/testsuite/gcc.c-torture/execute/941202-1.c
gcc/testsuite/gcc.c-torture/execute/align-nest.c
gcc/testsuite/gcc.c-torture/execute/alloca-1.c
gcc/testsuite/gcc.c-torture/execute/built-in-setjmp.c
gcc/testsuite/gcc.c-torture/execute/pr22061-1.c
gcc/testsuite/gcc.c-torture/execute/pr22061-4.c
gcc/testsuite/gcc.c-torture/execute/pr36321.c
gcc/testsuite/gcc.c-torture/execute/pr43220.c
gcc/testsuite/gcc.c-torture/execute/pr82210.c
gcc/testsuite/gcc.c-torture/execute/pr86528.c
gcc/testsuite/gcc.c-torture/execute/vla-dealloc-1.c
gcc/testsuite/gcc.dg/20001012-2.c
gcc/testsuite/gcc.dg/20020415-1.c
gcc/testsuite/gcc.dg/20030331-2.c
gcc/testsuite/gcc.dg/20101010-1.c
gcc/testsuite/gcc.dg/Walloca-1.c
gcc/testsuite/gcc.dg/Walloca-10.c
gcc/testsuite/gcc.dg/Walloca-11.c
gcc/testsuite/gcc.dg/Walloca-12.c
gcc/testsuite/gcc.dg/Walloca-13.c
gcc/testsuite/gcc.dg/Walloca-14.c
gcc/testsuite/gcc.dg/Walloca-15.c
gcc/testsuite/gcc.dg/Walloca-2.c
gcc/testsuite/gcc.dg/Walloca-3.c
gcc/testsuite/gcc.dg/Walloca-4.c
gcc/testsuite/gcc.dg/Walloca-5.c
gcc/testsuite/gcc.dg/Walloca-6.c
gcc/testsuite/gcc.dg/Walloca-7.c
gcc/testsuite/gcc.dg/Walloca-8.c
gcc/testsuite/gcc.dg/Walloca-9.c
gcc/testsuite/gcc.dg/Walloca-larger-than-2.c
gcc/testsuite/gcc.dg/Walloca-larger-than-3.c
gcc/testsuite/gcc.dg/Walloca-larger-than-4.c
gcc/testsuite/gcc.dg/Walloca-larger-than.c
gcc/testsuite/gcc.dg/Warray-bounds-22.c
gcc/testsuite/gcc.dg/Warray-bounds-41.c
gcc/testsuite/gcc.dg/Warray-bounds-46.c
gcc/testsuite/gcc.dg/Warray-bounds-48-novec.c
gcc/testsuite/gcc.dg/Warray-bounds-48.c
gcc/testsuite/gcc.dg/Warray-bounds-50.c
gcc/testsuite/gcc.dg/Warray-bounds-63.c
gcc/testsuite/gcc.dg/Warray-bounds-66.c
gcc/testsuite/gcc.dg/Wdangling-pointer.c
gcc/testsuite/gcc.dg/Wfree-nonheap-object-2.c
gcc/testsuite/gcc.dg/Wfree-nonheap-object.c
gcc/testsuite/gcc.dg/Wrestrict-17.c
gcc/testsuite/gcc.dg/Wrestrict.c
gcc/testsuite/gcc.dg/Wreturn-local-addr-2.c
gcc/testsuite/gcc.dg/Wreturn-local-addr-3.c
gcc/testsuite/gcc.dg/Wreturn-local-addr-4.c
gcc/testsuite/gcc.dg/Wreturn-local-addr-6.c
gcc/testsuite/gcc.dg/Wsizeof-pointer-memaccess1.c
gcc/testsuite/gcc.dg/Wstack-usage.c
gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
gcc/testsuite/gcc.dg/Wstrict-overflow-27.c
gcc/testsuite/gcc.dg/Wstringop-overflow-15.c
gcc/testsuite/gcc.dg/Wstringop-overflow-23.c
gcc/testsuite/gcc.dg/Wstringop-overflow-25.c
gcc/testsuite/gcc.dg/Wstringop-overflow-27.c
gcc/testsuite/gcc.dg/Wstringop-overflow-3.c
gcc/testsuite/gcc.dg/Wstringop-overflow-39.c
gcc/testsuite/gcc.dg/Wstringop-overflow-56.c
gcc/testsuite/gcc.dg/Wstringop-overflow-57.c
gcc/testsuite/gcc.dg/Wstringop-overflow-67.c
gcc/testsuite/gcc.dg/Wstringop-overflow-71.c
gcc/testsuite/gcc.dg/Wstringop-truncation-3.c
gcc/testsuite/gcc.dg/Wvla-larger-than-1.c
gcc/testsuite/gcc.dg/Wvla-larger-than-2.c
gcc/testsuite/gcc.dg/Wvla-larger-than-3.c
gcc/testsuite/gcc.dg/Wvla-larger-than-4.c
gcc/testsuite/gcc.dg/Wvla-larger-than-5.c
gcc/testsuite/gcc.dg/analyzer/boxed-malloc-1.c
gcc/testsuite/gcc.dg/analyzer/call-summaries-2.c
gcc/testsuite/gcc.dg/analyzer/data-model-1.c
gcc/testsuite/gcc.dg/analyzer/malloc-1.c
gcc/testsuite/gcc.dg/analyzer/malloc-reuse.c
gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-12.c
gcc/testsuite/gcc.dg/analyzer/pr93355-localealias.c
gcc/testsuite/gcc.dg/analyzer/putenv-1.c
gcc/testsuite/gcc.dg/analyzer/taint-alloc-1.c
gcc/testsuite/gcc.dg/analyzer/torture/pr93373.c
gcc/testsuite/gcc.dg/analyzer/torture/ubsan-1.c
gcc/testsuite/gcc.dg/analyzer/vla-1.c
gcc/testsuite/gcc.dg/atomic/stdatomic-vm.c
gcc/testsuite/gcc.dg/attr-alloc_size-6.c
gcc/testsuite/gcc.dg/attr-alloc_size-7.c
gcc/testsuite/gcc.dg/attr-alloc_size-8.c
gcc/testsuite/gcc.dg/attr-alloc_size-9.c
gcc/testsuite/gcc.dg/attr-noipa.c
gcc/testsuite/gcc.dg/auto-init-uninit-36.c
gcc/testsuite/gcc.dg/auto-init-uninit-9.c
gcc/testsuite/gcc.dg/auto-type-1.c
gcc/testsuite/gcc.dg/builtin-alloc-size.c
gcc/testsuite/gcc.dg/builtin-dynamic-alloc-size.c
gcc/testsuite/gcc.dg/builtin-dynamic-object-size-1.c
gcc/testsuite/gcc.dg/builtin-dynamic-object-size-2.c
gcc/testsuite/gcc.dg/builtin-dynamic-object-size-3.c
gcc/testsuite/gcc.dg/builtin-dynamic-object-size-4.c
gcc/testsuite/gcc.dg/builtin-object-size-1.c
gcc/testsuite/gcc.dg/builtin-object-size-2.c
gcc/testsuite/gcc.dg/builtin-object-size-3.c
gcc/testsuite/gcc.dg/builtin-object-size-4.c
gcc/testsuite/gcc.dg/builtins-64.c
gcc/testsuite/gcc.dg/builtins-68.c
gcc/testsuite/gcc.dg/c23-auto-2.c
gcc/testsuite/gcc.dg/c99-const-expr-13.c
gcc/testsuite/gcc.dg/c99-vla-1.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c
gcc/testsuite/gcc.dg/fold-alloca-1.c
gcc/testsuite/gcc.dg/gomp/pr30494.c
gcc/testsuite/gcc.dg/gomp/vla-2.c
gcc/testsuite/gcc.dg/gomp/vla-3.c
gcc/testsuite/gcc.dg/gomp/vla-4.c
gcc/testsuite/gcc.dg/gomp/vla-5.c
gcc/testsuite/gcc.dg/graphite/pr99085.c
gcc/testsuite/gcc.dg/guality/guality.c
gcc/testsuite/gcc.dg/lto/pr80778_0.c
gcc/testsuite/gcc.dg/nested-func-10.c
gcc/testsuite/gcc.dg/nested-func-12.c
gcc/testsuite/gcc.dg/nested-func-13.c
gcc/testsuite/gcc.dg/nested-func-14.c
gcc/testsuite/gcc.dg/nested-func-15.c
gcc/testsuite/gcc.dg/nested-func-16.c
gcc/testsuite/gcc.dg/nested-func-17.c
gcc/testsuite/gcc.dg/nested-func-9.c
gcc/testsuite/gcc.dg/packed-vla.c
gcc/testsuite/gcc.dg/pr100225.c
gcc/testsuite/gcc.dg/pr25682.c
gcc/testsuite/gcc.dg/pr27301.c
gcc/testsuite/gcc.dg/pr31507-1.c
gcc/testsuite/gcc.dg/pr33238.c
gcc/testsuite/gcc.dg/pr41470.c
gcc/testsuite/gcc.dg/pr49120.c
gcc/testsuite/gcc.dg/pr50764.c
gcc/testsuite/gcc.dg/pr51491-2.c
gcc/testsuite/gcc.dg/pr51990-2.c
gcc/testsuite/gcc.dg/pr51990.c
gcc/testsuite/gcc.dg/pr59011.c
gcc/testsuite/gcc.dg/pr59523.c
gcc/testsuite/gcc.dg/pr61561.c
gcc/testsuite/gcc.dg/pr78468.c
gcc/testsuite/gcc.dg/pr78902.c
gcc/testsuite/gcc.dg/pr79972.c
gcc/testsuite/gcc.dg/pr82875.c
gcc/testsuite/gcc.dg/pr83844.c
gcc/testsuite/gcc.dg/pr84131.c
gcc/testsuite/gcc.dg/pr87099.c
gcc/testsuite/gcc.dg/pr87320.c
gcc/testsuite/gcc.dg/pr89045.c
gcc/testsuite/gcc.dg/pr91014.c
gcc/testsuite/gcc.dg/pr93986.c
gcc/testsuite/gcc.dg/pr98721-1.c
gcc/testsuite/gcc.dg/pr99122-2.c
gcc/testsuite/gcc.dg/shrink-wrap-alloca.c
gcc/testsuite/gcc.dg/sso-14.c
gcc/testsuite/gcc.dg/strlenopt-62.c
gcc/testsuite/gcc.dg/strlenopt-83.c
gcc/testsuite/gcc.dg/strlenopt-84.c
gcc/testsuite/gcc.dg/strlenopt-91.c
gcc/testsuite/gcc.dg/torture/Wsizeof-pointer-memaccess1.c
gcc/testsuite/gcc.dg/torture/calleesave-sse.c
gcc/testsuite/gcc.dg/torture/pr48953.c
gcc/testsuite/gcc.dg/torture/pr71881.c
gcc/testsuite/gcc.dg/torture/pr71901.c
gcc/testsuite/gcc.dg/torture/pr78742.c
gcc/testsuite/gcc.dg/torture/pr8081.c
gcc/testsuite/gcc.dg/torture/pr92088-1.c
gcc/testsuite/gcc.dg/torture/pr92088-2.c
gcc/testsuite/gcc.dg/torture/pr93124.c
gcc/testsuite/gcc.dg/torture/pr94479.c
gcc/testsuite/gcc.dg/torture/stackalign/alloca-1.c
gcc/testsuite/gcc.dg/torture/stackalign/inline-2.c
gcc/testsuite/gcc.dg/torture/stackalign/nested-3.c
gcc/testsuite/gcc.dg/torture/stackalign/vararg-1.c
gcc/testsuite/gcc.dg/torture/stackalign/vararg-2.c
gcc/testsuite/gcc.dg/tree-ssa/20030807-2.c
gcc/testsuite/gcc.dg/tree-ssa/20080530.c
gcc/testsuite/gcc.dg/tree-ssa/alias-37.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-22.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-25.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-3.c
gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-15.c
gcc/testsuite/gcc.dg/tree-ssa/pr23848-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr23848-2.c
gcc/testsuite/gcc.dg/tree-ssa/pr23848-3.c
gcc/testsuite/gcc.dg/tree-ssa/pr23848-4.c
gcc/testsuite/gcc.dg/uninit-32.c
gcc/testsuite/gcc.dg/uninit-36.c
gcc/testsuite/gcc.dg/uninit-38.c
gcc/testsuite/gcc.dg/uninit-39.c
gcc/testsuite/gcc.dg/uninit-41.c
gcc/testsuite/gcc.dg/uninit-9-O0.c
gcc/testsuite/gcc.dg/uninit-9.c
gcc/testsuite/gcc.dg/uninit-pr100250.c
gcc/testsuite/gcc.dg/uninit-pr101300.c
gcc/testsuite/gcc.dg/uninit-pr101494.c
gcc/testsuite/gcc.dg/uninit-pr98578.c
gcc/testsuite/gcc.dg/uninit-pr98583.c
gcc/testsuite/gcc.dg/vla-2.c
gcc/testsuite/gcc.dg/vla-22.c
gcc/testsuite/gcc.dg/vla-24.c
gcc/testsuite/gcc.dg/vla-3.c
gcc/testsuite/gcc.dg/vla-4.c
gcc/testsuite/gcc.dg/vla-stexp-1.c
gcc/testsuite/gcc.dg/vla-stexp-2.c
gcc/testsuite/gcc.dg/vla-stexp-4.c
gcc/testsuite/gcc.dg/vla-stexp-5.c
gcc/testsuite/gcc.dg/winline-7.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-1.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-10.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-2.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-3.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-4.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-5.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-6.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-7.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-8.c
gcc/testsuite/gcc.target/aarch64/stack-check-alloca-9.c
gcc/testsuite/gcc.target/arc/interrupt-6.c
gcc/testsuite/gcc.target/i386/pr80969-3.c
gcc/testsuite/gcc.target/loongarch/stack-check-alloca-1.c
gcc/testsuite/gcc.target/loongarch/stack-check-alloca-2.c
gcc/testsuite/gcc.target/loongarch/stack-check-alloca-3.c
gcc/testsuite/gcc.target/loongarch/stack-check-alloca-4.c
gcc/testsuite/gcc.target/loongarch/stack-check-alloca-5.c
gcc/testsuite/gcc.target/loongarch/stack-check-alloca-6.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-1.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-10.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-2.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-3.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-4.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-5.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-6.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-7.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-8.c
gcc/testsuite/gcc.target/riscv/stack-check-alloca-9.c
gcc/testsuite/gcc.target/sparc/setjmp-1.c
gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/ms-sysv.c
gcc/testsuite/lib/gcc-dg.exp
gcc/testsuite/lib/target-supports.exp
libstdc++-v3/testsuite/lib/prune.exp

index 6fdc1de17c9f483a7fc7d8b5819ed478644cfd81..e7851eabb463e449456ffb124cafb596d84fd186 100644 (file)
@@ -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;
 
index 3b5cdfe12a2aeef04032629f75df5256399e3d87..be05775fa913ad4bd181dc3a4e239aef6b14e117 100644 (file)
@@ -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))
 
index ce5827d6e2c59510fa9381885155aa811d1fe019..0cd4da001da552549031a71364689420857e4b1c 100644 (file)
@@ -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"
index 20f11b227d647f8db28fc0489591d1ad8c407b83..527e5e7b2c6f884f5d033531c93f32616e7d88b8 100644 (file)
@@ -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;
index a747aabd28881c2b1dcf03d8e238f98e4de988b7..e57e66f833682780e1d018b4c4644ba4cff7a4b4 100644 (file)
@@ -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*, ...);
 
index cb6da9e86394d575bb21299daa42ac649e6833c3..3a8f542934d5e9f73b9ee783f8f57e078cebb615 100644 (file)
@@ -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__);
 
index 0a18c3c8249e9f2cadcbe3daebea28310d244ce1..394ff923746db3835014faad9506713172c13ad1 100644 (file)
@@ -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;
index 343b625080727486c38dd84566b50b811b2611a0..323fbe65ae128b24810fb6f6142360db7c03e813 100644 (file)
@@ -1,6 +1,5 @@
 /* PR c/7652 */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Wimplicit-fallthrough" } */
 
 extern void bar (int);
index 6c8866d2a24a19a4045ec4e4142e28f5ec4af3d2..d204e5f27d8f650d99123384209b9703ab8b31a7 100644 (file)
@@ -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
index d9a1555e7ce9ac9ed765bbcd603fd0ba06d3db37..d2f6260bea964bf91f37177d925f042bcc95d0cb 100644 (file)
@@ -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)
index 114837b2b64e325c9bd101b2e9c9ddbc24706ab9..57b61cdd0227d1fb80b2fa1f75feee360140542c 100644 (file)
@@ -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;
index 12a7dddc00db82c54f9b57669b3b5d8958fd104f..1217719a29881b0646ac6bd8d41dac3011757367 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/43981 */
 /* { dg-do compile } */
 /* { dg-options "-Wunused" } */
-/* { dg-require-effective-target alloca } */
 
 void g (char *);
 
index 8c49ed2fa5cd7581707582f40bf23c08267a7441..0923b3556625584ecf79edecaf76bccefc7944fc 100644 (file)
@@ -1,7 +1,6 @@
 /* Origin: PR c++/44108 */
 /* { dg-options "-Wunused" } */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 
 int
 foo ()
index 073f97e1ade32f03ad7ede23b72c4ce208ddc2c7..f8b034f69b40dc4f7c7538f672862f1abb88d952 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 void *test (void)
 {
   void *ptr = __builtin_alloca (64);
index cfd6b4f6f4f33ddc851181fadb2b72a3f2920058..5de781745bb7ea5ae5085dc4c558b7290ff00736 100644 (file)
@@ -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>
 
index eeb52192fd44370f40be66acd2164cb244d4f00d..171a8386fb0fa2b5145d35c6d408b512521373c2 100644 (file)
@@ -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"
index 76905a623f2140830dc3a7eaaf281701f5263c43..a7674b2eec7bb37f49eed0405faa09bb878e5fe3 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
 
index 2fcf70791f4cbe1c3283abb5deb6f508078d5659..4d158b54fa1ba5f964653ef8252807aa07a1f77d 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "requires hosted libstdc++ for stdlib size_t" { ! hostedlib } } */
 
 #include <stdlib.h>
index b093a3c4d2ab98a6ab5ff5219d4485c6657133b4..d3c47987c83d6eb906c4a455596318efec1ad437 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
 
 #include <stdlib.h>
index 87727e8ca25b60f2fd1c0f2890105d09b8bd33f7..8c50631d8ceb820c4e134ad9930831e7fa1f89eb 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 typedef __SIZE_TYPE__ size_t;
 
 int test_alloca_1 (void)
index 422b4037363480a2dea1285c96aa807e70a88c79..486447cc596eb1efadc338d6dd16230baf3d87a5 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
 
 #include <stdlib.h>
index ca48834c855cfbb000228e253af57bec2b211e46..77e3e02b80d2e2464b6873cbaf7559e90b424094 100644 (file)
@@ -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>
index 4d15b163f4003db167bf61b9329884453552b55a..3501d3002ad9e9250f5b49850e448c91a95fbcd6 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-additional-options "-Wno-unused-but-set-variable" } */
-/* { dg-require-effective-target alloca } */
 
 #include <string.h>
 #include <stdlib.h>
index 048a1b9698f23dd1db12c427cd6fa72f0010b9c6..89d1566e53b4cc34006243926b24cec0a5ee4d43 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdlib.h>
 #include <stdint.h>
index d8c842171a810b218d2922022b1cc73d9974b60a..82ed59929f0d1ab1579ea785ea65de5eb27e4338 100644 (file)
@@ -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" } */
index a949f15323d349e4c123192abd35d33ef0a7fc7b..2ecad8c2f0ba1e53872ac56ff3df44d7845eec01 100644 (file)
@@ -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"
 
index 86f0ce6d8a08ab01d2f82de837c03d209964f076..d52ca7806b68ab25573fb81add23d0dbf4c4503e 100644 (file)
@@ -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.  */
index aafa2154a062eca0a785eb76dc0a75ce9fd697e5..6eb468785ce14a4eded0035039951e07e2c57d40 100644 (file)
@@ -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);
 
index c073bc9a1f8b1dd3923e3cfba86df6f38570c1b7..964291c5bd9498905dc83c5b490d520e8796cdd5 100644 (file)
@@ -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);
 
index 77710a961747345a1f284543baee7f394455c41b..5857287ecbef3af061c1dcd6e5efae80e0ce160f 100644 (file)
@@ -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 *);
 
index 3714bc3212568413df214e64052509455069eb3b..1e309959fc5c1a268b9508b6a8cbcf016f116d00 100644 (file)
@@ -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 *);
 
index f44d0d3286b61e05f815dce92a1f16c45904624f..3bc5deda0e84c97a3db026befece9c51e145574a 100644 (file)
@@ -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;
 
index f71f8f0a1fea0541d87567ceebd8b0c51bfe1752..e814bf56844b582c4b6c657ca9a2f23164c57b81 100644 (file)
@@ -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)
index c86fd9184942c4b0bf85f227b0b2b7ed7bee6525..5e9fa474a7218c837c2fc655b6603bc1fd9d8a1d 100644 (file)
@@ -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);
index ebc589327387d808caaf0023c260c63700a500a6..b98e96de06984890c52e633921aae0f84bcdd7be 100644 (file)
@@ -1,6 +1,5 @@
 /* PR libstdc++/88101 */
 /* { dg-do run } */
-/* { dg-require-effective-target alloca } */
 
 struct S { char a; short b; char c; };
 
index e5047a988f5bf1b835125795f613d15c6f0726e1..e29055d19417bc0f1d771ab4618588b3b3788999 100644 (file)
@@ -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
index 0e84a4bab80fcf2b0a4abcff22ad9ab9465b99e1..469405dbd345acd8af0e1f99224cd5f75d73ca73 100644 (file)
@@ -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
index edc98486dc93aa92586198593bd08edb3c203bb8..8da6cac5e996ee845b6674d5fe9ba9490640919a 100644 (file)
@@ -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"
index 487ed08bb6606af4f0e4785fe574e18b83cb0ae9..753f5fc3ef04052a57b0a0fe8ea27822efe994f5 100644 (file)
@@ -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")))
index a85447ffabfaedf0ffb2f3d72aa486087b63e47f..6f7bdd2f953b21273a50b38854fe81933da68c0b 100644 (file)
@@ -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"
index 2985ac91c62397b0bcdad9186efe4389257db4f7..5b99505f9123ba7d3ebb5fd8c37fd88df2d968d2 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/79809 - ICE in alloca_call_type, at gimple-ssa-warn-alloca.c */
 /* { dg-do compile } */
 /* { dg-options "-Walloca-larger-than=4207115063 -Wvla-larger-than=1233877270 -O2" } */
-/* { dg-require-effective-target alloca } */
 
 int a;
 char *b = static_cast<char *>(__builtin_alloca (a));
index b6992d08bf36dec497fd759b14db72c19496c4cf..87099ee4082f152680a5e2e0b7b36e20958c5ea2 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
 // { dg-options "-Walloca-larger-than=4207115063 -Wvla-larger-than=1233877270 -O2 --param ggc-min-heapsize=0 --param ggc-min-expand=0 -w" }
-// { dg-require-effective-target alloca }
 
 int a;
 char *b = static_cast<char *>(__builtin_alloca (a));
index 0c5d50b17d5fc315de56fd8fd9bb72aab46f26e9..156cb9170803b74789383551dec4eaf429d9ee1d 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/70338
 // { dg-do compile { target c++11 } }
 // { dg-options "-g" }
-// { dg-require-effective-target alloca }
 
 template<typename T>
 void
index 94d18605057bd760845a6bafef19f64f6c4bf942..4cabccb27b7421d9cfc81da48d36faefe704de71 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/59271
 // { dg-do compile { target c++14 } }
 // { dg-options "-Wno-vla" }
-// { dg-require-effective-target alloca }
 
 extern "C" int printf (const char *, ...);
 
index f4de532137ed47afb94f7378a49858a1844795bb..f81ab9bd1cd35520c0518278fd2d4144129ea754 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/57402
 // { dg-do run }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 int i = 2;
 
index 010b54cd41c6379aa20c514d27eb3f9ab2d31016..07c300884a37ef43ab248dbed22a3a4d1b0c813e 100644 (file)
@@ -1,7 +1,6 @@
 // N3639 allows initialization and capture of VLAs
 // { dg-do run { target c++11 } }
 // { dg-options "-Wno-vla" }
-// { dg-require-effective-target alloca }
 
 void f(int n)
 {
index fc009cbea18eff89fad4bae31bdce4e8b4a9724b..ca527a84c7b12f94693b7d20112b1f3fe788a823 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/57404
 // { dg-do compile { target c++11 } }
 // { dg-options "-g" }
-// { dg-require-effective-target alloca }
 
 void f (int i)
 {
index 43a7416e5c413af1c2d4a2342577782bf714f99f..68cafe585e97da75f54d21030847405295327893 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/55149
 // { dg-do compile { target c++11 } }
 // { dg-options "-Wno-vla" }
-// { dg-require-effective-target alloca }
 
 template<unsigned int TA>
  struct SA
index efed28c2505256b16ffc79615931a18bbb108cbd..8dffa94874e03609abf539b8bfc5a8f4b495f426 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-do compile }
-// { dg-require-effective-target alloca }
 
 int foo()
 {
index 3622d0194de13e4af66e93420da01f481b4d8ddb..64f121b00ad1067019366baa5f897ffb40d13940 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-do compile }
-// { dg-require-effective-target alloca }
 
 void foo()
 {
index 81c44debf33d4647a12a0777aadbde8a08743b00..80b9a3ce070b1ad1c7d23ed491dd8cbaccd07a93 100644 (file)
@@ -1,7 +1,6 @@
 // PR debug/54828
 // { dg-do compile }
 // { dg-options "-g" }
-// { dg-require-effective-target alloca }
 
 struct T { T (); virtual ~T (); };
 struct S : public virtual T { S (); virtual ~S (); };
index 55d55973204da25110946f4524ab3259680dff64..9c9b02c77f4101558729d8b3223cfb18e5ea2010 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-options "-Wsequence-point -fdiagnostics-show-caret" }
-// { dg-require-effective-target alloca }
 
 void *libiberty_concat_ptr;
 extern unsigned long concat_length (const char *, ...);
index 79aa32100b9ea126549d1db7495bd973018da0e5..e74d06793ae498e45a6f26c0f7d3427711507c09 100644 (file)
@@ -1,7 +1,6 @@
 // PR 17907
 // { dg-do compile }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 // We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
 
 
index 6afd539f272d59d2d1790f3cd1479ccaf9040334..ff1938e0cea07172038eb424e05b25d9648e8085 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-gdwarf-2" } */
 /* { dg-skip-if "No Dwarf" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } */
-/* { dg-require-effective-target alloca } */
 
 /* This was a bug on x86-darwin, where the register numbering for SP
    and BP was swapped (it's easy to do because on that port it's
index e857502685a76c2316c9f869cc4724e63d6a914c..61714b425b089c4abd67b33523201949620d587f 100644 (file)
@@ -1,7 +1,6 @@
 // PR middle-end/69780 - [4.9/5/6 Regression] ICE on
 //     __builtin_alloca_with_align with small alignment
 // { dg-do compile }
-// { dg-require-effective-target alloca }
 
 #define CHAR_BIT  __CHAR_BIT__
 #define SIZE_MAX  __SIZE_MAX__
index c72e98ee4598067135b8567a8edae1b55a71bc7c..090257a5f9194c6795a73b2f4498a1965e7af338 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/34937, 34962
 // { dg-require-weak "" }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 struct A
 {
index b48b17327be84fc9bf72adbcbad2e89d04e69484..17cdb2f9f766a5a6ac45fa90ab09438b7eaf79f6 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/48446
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 template<typename T>
 struct A
index 9e0f203649a6ff381dbf9ef62a7f4abb0b1c52c6..e733f481f3e32556bd55881c2f6280787b072eb0 100644 (file)
@@ -1,7 +1,6 @@
 // Test that auto works with VLAs.
 // { dg-do compile { target c++11 } }
 // { dg-options "-Wno-vla" }
-// { dg-require-effective-target alloca }
 
 void bar(int n)
 {
index ad52daf5b2ea86324aa904d799e1f87036c917a5..bca836507a949d2900c428bc6526706471f52b93 100644 (file)
@@ -1,7 +1,6 @@
 // VLA sizeof test
 // { dg-do compile }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 int
 f1 (int i)
index bce4d7b0af709f70d90dc43c171375a2c0d6f84e..6583f24394d2b47492beb1258476c23de3cce26c 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/44613
 // { dg-do run }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 typedef int int32_t __attribute__((mode (__SI__)));
 
index 4caa33c1633a64f0aac80298fec0a8aa4d9ff8c9..fa51feed8f31b6f73c41004397130453d5a299bb 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/72766
 // { dg-options "-Wno-vla" }
-// { dg-require-effective-target alloca }
 
 long fn1() {
   const int a = fn1();
index 3c2dbff4c2639eb7553ddf51dbaf0743dace3958..431167cb48e8a17999f8c050e77425d32c28070c 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/69487
 // { dg-do run }
 // { dg-options -Wno-vla }
-// { dg-require-effective-target alloca }
 
 int size = 6;
 
index 317a824b2f31fdc0c8b66cb480639d971e29a0e0..6f48b382cd085b67de9138399b96e47f579278ce 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/95552
 // Test for VLA and cloned constructor.
 // { dg-additional-options -Wno-vla }
-// { dg-require-effective-target alloca }
 
 struct VB { };
 struct ViewDom: virtual VB
index 5452280d6f2416086e3a3e386c8ee2b1493d91f2..329cc7dde00c745a0aecdd0d8eb926076315dfb8 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/28903
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 template <class>
 struct View 
index 687e0bcf2902038a5dc60f4d552227ddd410336b..83011f2f0ab8e75084da77b8b4ab830a048285a9 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/28879
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 struct A
 {
index 1a97ac015bf22b89cd163a70a7fa850847bef68a..5246f9c8c3887a45bdb775808473aaf50455d47f 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/40013
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 template <class T>
 struct A
index b38033f456758c5e2d9fa191b29e964ce9d2e5ed..2d72df40382b681d984f0fb35e822d16509e58ff 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/29175
 // { dg-options "-Wno-vla" }
-// { dg-require-effective-target alloca }
 
 void foo(int i)
 {
index fadc4d98ab5b9559bb6b5ac2cafe75087b3a57e7..acd52d7993bf193a53600a83525354cf2253a534 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/70448
 // { dg-do compile }
 // { dg-options "-Wall" }
-// { dg-require-effective-target alloca }
 
 typedef __typeof__ (sizeof 0) size_t;
 void *operator new (size_t, void *p) { return p; }
index 4d1eb746a2120c081cd93a9ab037ab1b9d91888f..b50f3fbdfb9d2f1369e3ca64efe1704f5257ad4f 100644 (file)
@@ -1,6 +1,5 @@
 // PR c++/55497
 // { dg-options "-g" }
-// { dg-require-effective-target alloca }
 
 int get();
 
index e2f2c14366e44adab34ffbfa6ae55f56765e5c41..82567bc505bfa564be0f47a6cf4cc8952e2b334e 100644 (file)
@@ -1,7 +1,6 @@
 // PR middle-end/78201
 // { dg-do compile }
 // { dg-options "-O2" }
-// { dg-require-effective-target alloca }
 
 struct B { long d (); } *c;
 long e;
index dcd384b265d940d93ad9319fe8f1e768d1c5b839..183f8fadc0ec82306d8bdf06c23ff7a23b88d49a 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/28879
 // { dg-do compile }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 
 struct A
 {
index d283cbfd596794f5be2aa4532ac733496706856a..cac05b92357c2513f0417c4736789a87da892818 100644 (file)
@@ -4,7 +4,6 @@
 // Test just twice, once with -O0 non-fortified, once with -O2 fortified.
 // { dg-skip-if "" { *-*-* }  { "*" } { "-O0" "-O2" } }
 // { dg-skip-if "" { *-*-* }  { "-flto" } { "" } }
-// { dg-require-effective-target alloca }
 
 extern "C" {
 
index fe24cddfeaa5f7146ae53769a2b2a9f8585c937b..38773dffa5bdf6f00bccd5a6038f1d4dd72e99bf 100644 (file)
@@ -5,7 +5,6 @@
 // suppressing buffer overflow warnings.
 // { dg-skip-if "" { *-*-* }  { "*" } { "-O0" "-O2" } }
 // { dg-skip-if "" { *-*-* }  { "-flto" } { "" } }
-// { dg-require-effective-target alloca }
 
 extern "C" {
 
index fe5d439568392b9362d76a98826640afe278fb85..342749337323df8ad69a9e32f994635f3f2b9884 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-require-effective-target alloca }
+
 struct A
 {
   A(int);
index 5089f092861aab2894dcf5cf05c8df4307607b21..6621e58136fe078436d8763188a25dbf46a2a1a1 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
 // { dg-additional-options "-std=c++14" }
-// { dg-require-effective-target alloca }
 
 namespace std {
     typedef __SIZE_TYPE__ size_t;
index dd8c365864b68891f930a4d7600bca6d9d3df62f..02693c04d4b94e6a436d16f8a0f200ef238528d3 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include "check.h"
 
index 1bf52d37670e77200dcc28620324dde792b12dbc..e630f338c54eb0f2792e88ace3c3e66d48324be2 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include "check.h"
 
index d0611dc5681207f3d4bdc1a34e713606fa16c2b3..efee8bb9e9533bda0889a9ce80f140d737588d31 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdarg.h>
 #include "check.h"
index 684fadbe830650044f543273cf55dc6a460511c4..d324383e263aa61caeedabf615764c3c20d390aa 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-options "-Wno-abi" {target arm_eabi} } */
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdarg.h>
 #include "check.h"
index 4afc7e503ab7437d610477e1d6c0ab7638985dcf..38d851e1c0a0750e05218a04cd5df7468c811fea 100644 (file)
@@ -2,7 +2,6 @@
 // warn_placement_new_too_small
 // { dg-do compile }
 // { dg-additional-options "-Wplacement-new -Wno-pedantic" }
-// { dg-require-effective-target alloca }
 
 #define SIZE_MAX   __SIZE_MAX__
 #define DIFF_MAX   __PTRDIFF_MAX__
index 18aa90bede46e1ad3c0061fca0c422eb2d1e6439..798cb6de0440de6c479f12bc69f7fc252e4ca4aa 100644 (file)
@@ -1,7 +1,6 @@
 // Test -Wsizeof-pointer-memaccess warnings.
 // { dg-do compile }
 // { dg-options "-Wall -Wno-sizeof-array-argument" }
-// { dg-require-effective-target alloca }
 
 typedef __SIZE_TYPE__ size_t;
 extern "C" void *memset (void *, int, size_t);
index 95e452dfc700af6f796d637955625e9a001f6788..bea2729a39e18090f22475b332d898e5aa8d30bf 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-Wvla" } */
-/* { dg-require-effective-target alloca } */
 
 void func (int i)
 {
index fcfb0da902f62451b0337bec681ec11342c76ffd..259c576b29f8a4e03d57e1402269c83f16d30f69 100644 (file)
@@ -1,7 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-pedantic-errors -Wno-vla" } */
-/* { dg-require-effective-target alloca } */
-/* { dg-require-effective-target alloca } */
 
 void func (int i)
 {
index 527239f1ee3d4eb603f6eda914a8c06a57e1c5fb..88482fe19d9e735bbd81c1a68f2564fb1c98882c 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do assemble  }
 // { dg-options "-w" }
-// { dg-require-effective-target alloca }
 // This testcase used to cause a crash on the Alpha.
 
 struct A {
index 2ee6b34962130039ddd9565b07964eb551eacf69..3dc15c52acd710107f1b09176d33184346f69c36 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do run  }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 // Testcase for constructor expressions (GNU extension)
 
 struct Any {
index cc4cc87d727664c60aaa6fade03c24bdf25e39f6..de228642250361f07e1f31794cab27d06fff3b17 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do run  }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 // GROUPS passed builtins
 // Apparently not in g++ bug snapshot (was originally sent to bug-gcc)
 // Message-Id: <m0p74Fh-0002fCC@neal.ctd.comsat.com>
index 4639e764a2535708e1c201d94d560fe9c0f49877..73bbb8bb6d6cc692105e1fefb87a0cd3f7e28a08 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do assemble  }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 // Origin: Alfred Minarik <a8601248@unet.univie.ac.at>
 
 template<typename T>
index 497cfde2f34a2215c6b4410cdd994c480108a529..ac47ac6e6b898d28bd996461087a9ababe94e5db 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do run  }
 // { dg-options "-O" }
-// { dg-require-effective-target alloca }
+
 typedef struct { } e;
 
 char *p;
index 4d00d0463053fe56fc2c743a7c7ec346969dac0b..b48cabd4da94ca5c6372aa1017300ca8e534349e 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do assemble  }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 // Origin: Alfred Minarik <a8601248@unet.univie.ac.at>
 
 template<typename _CharT>
index 7817a73b1194d1fcd5ee7d7388fe41bc5052cfae..7376f9165bf5c88f3f36ed0270e66a5ddb53b399 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do assemble  }
 // { dg-options "" }
-// { dg-require-effective-target alloca }
 // Origin: Theo Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
 
 inline const unsigned& f(unsigned const& a) {
index 3244dc783008dbb9e60377860e0ee284e0d7cb83..9ed98868206265e3a2a2bbf49879edf07c4624fb 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 const int a = 3;
 const int b = 50;
 
index 1adb0f8d1c1f6278e948a6868ab732c3dfa45160..66ae7141147cc4be1e3fddb1446b11de1df031c0 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 static void
 foo ()
 {
index 605986a630d9f6e269624720da8615af098724ff..c1cc81504e82affc292b9ccc25a4a38292ab58b2 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 int x;
 
 static int
index 10c461998db50abceb5e824f66e2e63362a0b2d8..63d912026c6fb67b766be5b516a67b84df4b8eb0 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-std=gnu89" } */
 
 void zzz (char *s1, char *s2, int len, int *q)
index ba8dabaa3710f5b60edaf58ec001b2d7fde82e5d..45bd2a037be2aba75cb9b03e4e07b54aa3c1f18a 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 __inline int f(int i)
 {
   struct {
index 25e71bf5f6b01e29721e4c393c96a27fee346e50..b9a36ef65a7b77e9fa82e63c994491f5ad107772 100644 (file)
@@ -1,5 +1,4 @@
 /* PR tree-optimization/33680 */
-/* { dg-require-effective-target alloca } */
 
 int
 f (int dim, int *b, int *c)
index 43bc0989645a4e8b84795d35ce5458d24341bac8..efcd51269ba4b8948354d64b650301941b305cd7 100644 (file)
@@ -1,5 +1,4 @@
 /* PR middle-end/34134 */
-/* { dg-require-effective-target alloca } */
 
 extern void bar (void *, int);
 
index 82552dc9e6dc0c971b73268dab9dec209fb30037..abe65f4d27582bef9b972739ab6fd52ed3f347e5 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
 /* { dg-additional-options "-std=gnu89" } */
 
index e53a8da965fc632edc8a641541d2304e8738f664..c1f741f5fbc3cd6bfd1af40613f1ddef5513ded7 100644 (file)
@@ -1,2 +1 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 void x(int a){struct{int p[a],i;}l;l.i;}
index 14bf5790d0482e258edf281c9f299d6f734c0a2c..3911f87bc94457c794fc339fbb173a81bab577d5 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 extern void dynreplace_trampoline(void);
 extern void dynreplace_trampoline_endlabel(void);
 int dynreplace_add_trampoline(void)
index d95d52c0cd2f6b91711dfe09cf6d3f6e1e53101d..66baf44971cd854320e26f734eb59dda874b0d75 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
 /* { dg-additional-options "-std=gnu89" } */
 #define alloca __builtin_alloca
index 6dde3c856be5cf7aae1687de70bcfdaf0558f588..b857472f65f278b8c76e3fef699185c05abf9451 100644 (file)
@@ -1,5 +1,4 @@
 /* ICE due to invalid GIMPLE created during strlen simplification.  */
-/* { dg-require-effective-target alloca } */
 
 extern unsigned long strlen (__const char *__s);
 extern void bar ();
index 02f0662a804bbb588082db76e5bcf1d22a39ceb9..a9769f4656f077c9791772fc6a98166af0677274 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 typedef unsigned long grub_uint64_t;
 typedef grub_uint64_t grub_size_t;
 void grub_putchar (char);
index 923bca2f8485f8c73355a03d1f1392a8ff7f9e13..f0961d1871e164298a8d9478eaee762e220b037e 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-options "-fexceptions" } */
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* { dg-require-effective-target exceptions } */
 
 void
index ce03a8ff47e8bc3b898d351075757b352a27ed43..f592d4be4d7e3f026f4508893690240f87085bda 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 typedef const int cint;
 typedef struct {
 } Bounds;
index 354f40eb8fc3354b1a5cf7faf639854ca9650702..5b2abb0d421259bbd6ca4e4a40360f7cf649f180 100644 (file)
@@ -1,5 +1,4 @@
 /* PR target/51354 */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 
index 38a4ab57cef3449556d24581949ff2f117c33ba5..e36b14b0389f5708fa7705310bddd33ec1b01207 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 int __re_compile_fastmap(unsigned char *p)
 {
     unsigned char **stack;
index 8d118b87e3ac3c6ebbfa50c61a2ed9b272a94613..6198a7339cc510312ac3c1499883cb5b84ac1b73 100644 (file)
@@ -1,5 +1,4 @@
 /* PR middle-end/55851 */
-/* { dg-require-effective-target alloca } */
 
 enum { A = 1UL, B = -1UL } var = A;
 void foo (char *);
index be7ee303dd2505447f0c51a93227ba5181976339..48587f7ca69ef35989043033c3421bf1bc5abd05 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 /* PR c/77754 */
 
 int fn3();
index d649d7197222a606191f5970e0b9592241d9ca20..09cb339789659ac029178b4bfd459af22f8f868f 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 // { dg-require-effective-target indirect_calls }
 /* PR c/77754 */
 
index 51d7ca71966cb87562dccfc1f9a8db6210d454c4..9fc6dc268a2b163ffdf70cf224a6f741ddc89c1a 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 // { dg-require-effective-target indirect_calls }
 /* PR c/77754 */
 
index 53216bb6e7c22b068d0a4ce9df62b046b76c6194..471b248d4e8d07c403d7e1d3aea1ac3ada1c15a2 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 // { dg-require-effective-target indirect_calls }
 /* PR c/77754 */
 
index 82c93d9debdc36f3801fb733170cc09961664745..a9440ddb1fa9abc1a13288ef2aa5c3de72358e8b 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 /* PR c/77754 */
 
 int fn3();
index 1b4304381ceae0abf3c9070fa250aa18fb5a9353..2e7df3b67748f6f0eb5563232af05df1721eff1e 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 /* PR c/77754 */
 
 int fn3();
index fc90dd9c766c7aa3d58f79899727be33215cd4fc..a8af86bca346561b922e24c7260a7bb73d16658d 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* PR target/78439.  */
 
 enum demangle_component_type
index 6fc66d5ce30c6e9036803b16116b0b5153eb4235..602a974c9bea9e7a64325ec8f4e0ab0f0ed072f3 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* PR c/79413 */
 
 void
index 039f55a3985874caa85ac43d968dc667745391db..184e0e4984b46f9f59250aaa80449b48a811c7dc 100644 (file)
@@ -1,5 +1,4 @@
 /* PR middle-end/82564 */
-/* { dg-require-effective-target alloca } */
 
 int
 main ()
index 57739ed487fcc76aeb1dd86d2d41517fd6836246..12e28c470e4ed66ea2db58ef11852137d2095557 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 enum a { b, c };
 struct d {
   _Bool e;
index 0e16301ede9e60d4f2578f376024a27b18276065..d98b7e746be397142052463a48df8024d62b655a 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-options "-ftree-slp-vectorize -ffp-contract=on -ffloat-store"  }  */
-/* { dg-require-effective-target alloca } */
 
 _Complex foo_x_0;
 int foo_n11, foo_i, foo_l;
index c7c1dbee5232897b27498700f01c8db72eb270a9..4c957f3bcf577dc61950d4fa9adc8d4e0e547601 100644 (file)
@@ -1,6 +1,6 @@
 /* Test TREE_CONSTANT VLA size: bug 27893.  */
 /* Origin: Joseph Myers <joseph@codesourcery.com> */
-/* { dg-require-effective-target alloca } */
+
 int a;
 void g(void *);
 void f(void) { int b[(__SIZE_TYPE__)&a]; g(b); }
index 5bbd9b5ebdbadb6f24681eb87537bf165f33a2cf..2ddc71f3ca62acefa6f28603cb69ca6872d9c211 100644 (file)
@@ -1,5 +1,5 @@
 /* Test TREE_CONSTANT VLA size: bug 27893.  */
 /* Origin: Joseph Myers <joseph@codesourcery.com> */
-/* { dg-require-effective-target alloca } */
+
 void g(void *);
 void f(void) { int b[1/0]; g(b); }
index 58f07d847a19b1206d5ed7da73f4308ab4f14260..ca52c908c9f634ccd395daea68348e0f08f787e1 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 void abort (void);
 void exit (int);
 
index 8484256fc54e4e9f0499cab7acb938a67d9f624b..ae37ba1f2388af9190f119945fd9bf65d8df3ea9 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-fpermissive" } */
 void f(void * a, double y)
 {
index 58205d23d5b364036275e85cd8135c995650b3a7..df0efe008ad2eb57d1e4b5170f4c9e0d944e3ae9 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/3711
    This testcase ICEd on IA-32 at -O0 and was miscompiled otherwise,
    because std_expand_builtin_va_arg didn't handle variable size types.  */
-/* { dg-require-effective-target alloca } */
 
 #include <stdarg.h>
 
index ef64525c819bb9e6adf9d020d45b6b0a19e7207a..0766a5bab6d2f2c5377f4a7ea2cfdea509b827bd 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 /* This program tests a data flow bug that would cause constant propagation
    to propagate constants through function calls.  */
 
index 4ec6ba71aaafef3c8f1ed56ea4a84da1ccd4336c..1fcb15bf595f765d83438fa7c137aa870b3f435b 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-fpermissive" } */
 #include <string.h>
 #include <stdio.h>
index 4277a5068bece78eb7ee495b9f18c535a0adaa23..4c63535e7f7c79a8182675f6e14d85d657b63745 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* This used to fail on SPARC with an unaligned memory access.  */
 
 void foo(int n)
index f7a4de93dbff8c112cfd1828596bbef4551160be..0122825323a3d1d34a7cd0f20c1b848d9ce952d6 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-require-effective-target int32plus } */
-/* { dg-require-effective-target alloca } */
 
 /* Ensure that we deallocate X when branching back before its
    declaration.  */
index 4842bfe218c9c278c8687b83318261435e4a9162..74eb58c05b961dbac4e1aff504a12110fb20d84f 100644 (file)
@@ -1,5 +1,4 @@
 /* PR tree-optimization/33136 */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 
index d3e76932df13c6ad6d073fcfbe17d0f62b80d0c9..ade3d7e8e112917b8d89d54db2ff08718dfe6751 100644 (file)
@@ -1,5 +1,4 @@
 /* PR c/33238 */
-/* { dg-require-effective-target alloca } */
 
 typedef __SIZE_TYPE__ size_t;
 int memcmp (const void *, const void *, size_t);
index 7d05a14c7d96c6253f06109c5c122270ec1a7867..0d18b596629bff9b9e9b186dc8882dcde98a6974 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* { dg-additional-options "-std=gnu89" } */
 f(){}
 main(){int n=2;double x[n];f();exit(0);}
index ba86af81690b46777646d29350fcfb70e965f46c..19b732140b55ff2b3249bca5da18ebbc2ffeb542 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* REPRODUCED:RUN:SIGNAL MACHINE:sparc OPTIONS: */
 void exit (int);
 void
index 1dd7d682958f35909e6fff46ec7b2b97581095d2..1aee660da34bc62cc7f69f9b0440440cb259e4a8 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* { dg-require-effective-target trampolines } */
 /* { dg-additional-options "-std=gnu89" } */
 
index db45399a2aa8484270a9ff4f42d3e5dc73450d6b..cda09ddad7eeb9ad1844f3d1d196a0862761e605 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* { dg-additional-options "-std=gnu89" } */
 g (x, y)
 {
index 5298b09366d051316934652442da77a2d7b3e18c..4b237f0e6f72bce6e10cd00564ebc56b5ebcbaf2 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
-
 void foo(int n)
 {
   typedef struct
index 037c932c62b5f3bac015caec90ad01b2776ce1bd..ddfb3de4115c0da2636da92dee8dbc8e00afc55c 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* Verify that alloca storage is sufficiently aligned.  */
 /* ??? May fail if BIGGEST_ALIGNMENT > STACK_BOUNDARY.  Which, I guess
    can only happen on !STRICT_ALIGNMENT targets.  */
index 137bfc5ec6b454f2e556e71b98d07f7c9fa18f31..bfaaeefb2909958b1efcea4e6dfa39464519d396 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-require-effective-target indirect_jumps } */
-/* { dg-require-effective-target alloca } */
 
 extern int strcmp(const char *, const char *);
 extern char *strcpy(char *, const char *);
index 0a0f767a1d4526a50dd14632318803de7c742ca8..5197dc57f73e51344cb856eaeb08c750c3222889 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-fpermissive" } */
 int N = 1;
 void foo() {} /* Necessary to trigger the original ICE.  */
index 14b11cead9709231ec2728aa2ba4e1a437f84b0f..8f0d1b85c4b9a72c3ecf2cc7a973b21b64c77670 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 void abort (void);
 void exit (int);
 
index 8fd91d8c768bf5948f882ca7475f4bcf6f60c53f..b18e845a5976cfca85c179161b36807afff9c69d 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 /* See 'gcc.target/nvptx/__builtin_alloca_0-1-O0.c'.
    { dg-xfail-if TODO { nvptx-*-* && { ! nvptx_softstack } } { "-O0" } { "" } } */
 
index d61dfe8fa35d1870e6316e726c094af38c30d0ee..0d6ebfb273488309e05d381376a8bcb2bc6bf3c2 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-require-effective-target int32plus } */
-/* { dg-require-effective-target alloca } */
 
 void *volatile p;
 
index 4caf84359eee493c93118dcbd149775bd9e986b1..48fb715570ad80af565d52f22234d7b1cb9f3b7d 100644 (file)
@@ -1,5 +1,4 @@
 /* PR c/82210 */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int size)
index 9992faf249db9ec792882daa6242bbe92918cb74..2a7b0110d6476df2d3f3eb607906ce02e70b89fb 100644 (file)
@@ -1,4 +1,3 @@
-// { dg-require-effective-target alloca }
 /* PR middle-end/86528 */
 
 void __attribute__((noinline, noclone))
index 3b74b85a10e88aae86eb3a19a91f9a8f30611af8..9eb95c1b4e698f5067b63e45206677efd7f586e1 100644 (file)
@@ -1,6 +1,5 @@
 /* VLAs should be deallocated on a jump to before their definition,
    including a jump to a label in an inner scope.  PR 19771.  */
-/* { dg-require-effective-target alloca } */
 
 #if (__SIZEOF_INT__ <= 2)
 #define LIMIT 10000
index e7a4fb8da7a1f517c0331d48b74f964959899363..629ae1b3773900a2502e551ce53acf12be9c9e8d 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run { target fpic } } */
 /* { dg-options "-O2 -fpic" } */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 extern void exit (int);
index 46a1bbddc30c7f29948dc1d2aa5d81bc99be66b7..7d5b5aebdea1a81c353ec6277a6e1790ff6b12fd 100644 (file)
@@ -3,7 +3,6 @@
    ASM_SIMPLIFY_DWARF_ADDR hook.  */
 /* { dg-do compile { target fpic } } */
 /* { dg-options "-O2 -fpic -g" } */
-/* { dg-require-effective-target alloca } */
 
 static inline char *
 bar (unsigned long x, char *y)
index 5dc164fc4fe2d930a0af3ee46da0b23b1e9fb489..2fce78ea97c10bb94369fb3c7ae8fc7933f9643d 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-options "" }
-/* { dg-require-effective-target alloca } */
 
 extern int printf (const char *, ...);
 
index d47071742b569002d0fe2922774ee7523165d1c4..a0e308eaa8c74370b78c9e5d2e1538d605116a5b 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-std=gnu17 -O2 -fno-crossjumping" } */
-/* { dg-require-effective-target alloca } */
 
 int bar1 ();
 int bar2 ();
index 37ee1912187717ce3e1440cef4bf200b6af29949..3f657dc107b7f5b277b84952df54ebb0119fcf12 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=2000 -O2 -ftrack-macro-expansion=0" } */
 
 #define alloca __builtin_alloca
index 6b127cce2a2be9fcc8a6c48c3a6f4b9975c9b0ab..69549fcc0d507e064649bdb04317e1cb2307e11a 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=2000 -O2" } */
 
 // Test when the conditionals are incorrectly reversed.
index 8484f9c778265bca1bfbb3219ebbab83f6f1c109..5124476d71fe40e57ab17bf4ee54d900b3da04a2 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca -O2" } */
 
 // Make sure we don't warn on VLA with -Walloca.
index d2d9413ab1e9fe6d6f840a11601ccda689e7c568..f209d05f6bdc6394e5e47b7b9a7da3881bd1eea4 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=128 -O2" } */
 
 void f (void*);
index d3af0c503996ddbece25dbdc96e45aa586ee4b9a..f9bdcefa9d3a9581d87232126b1b9695fbf17a75 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=100 -O2" } */
 
 void f (void*);
index 554587c051b31c8c6715451731397b401be79c0d..16ad0a16748dfd7744b0b029deca3c065dde8131 100644 (file)
@@ -1,6 +1,5 @@
 /* PR tree-optimization/80109 */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "small address space" { "pdp11-*-*" } } */
 /* { dg-options "-O2 -Walloca-larger-than=126812070" { target ptr32plus }  } */
 /* { dg-options "-O2 -Walloca-larger-than=12070" { target { ! ptr32plus } } } */
index f34ffd98b617d4ed87caea013dd28eaeef84a099..12f71c3acf6db3ba0333eb899c46e26cb418f834 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=128 -O2" } */
 
 typedef __SIZE_TYPE__ size_t;
index c81813e0daac79eea6ca7dfb046df820f8edf2b4..dd822a85e00b616272f7fc6136896fefad214957 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=2000 -O2" } */
 
 void f (void *);
index b8000ff1249becc2c87506246963f60d502ba7fa..6e73b72b934c534aa8fac00f82118e735bb48b50 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=2000 -O2" } */
 
 void f (void *);
index 1fbed597b98a573b156c9d87c5b22aa8b00ca29d..9ba9453605dce9284bd8b5c3a64e8005db6174b8 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=5000 -O2" } */
 
  char *
index 73c72960c264214f18f051dae5a29ae2e5370e07..5ed1171e0d30fcfd826489c7ec68a0618019598f 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=123 -O2" } */
 /* { dg-xfail-if "Currently broken but Andrew's work should fix this" { *-*-* } } */
 
index ebe08aec838ba8cdc9cbd32961ffb8ffeeb2332c..e00267f58b0d2508a27d9920058c31a9c9103a44 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=256 -O2" } */
 
 void f (void*);
index 11c38c18fd6666f55ca3b03bccc2d4d556b59234..d6581a5b20b20a87d238fea8a52dc9069dbb70be 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca -O0" } */
 
 extern void f(void *);
index b64af09179186242167080ed2aaad26b461116e9..a4a120485cd7a33559b66b5eaa75ca6b56f56904 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=2000 -O2" } */
 
 void *p;
index b82324a737392dbb537f3998dde5bf852f665c82..c67d9d632553ed1e8c970ab3338920d4e26c0a59 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca-larger-than=5000 -O2" } */
 
 extern void useit(char *);
index 88572d94524028cc36e1b4871397936c4f8814a4..fe003bd088271314ea67fad43005d0e884e48a0a 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/82063 - issues with arguments enabled by -Wall
    Verify that alloca() calls in loops are not diagnosed by default.
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -ftrack-macro-expansion=0" } */
 
 extern void* alloca (__SIZE_TYPE__);
index 6f8ede04c7d263714a566d8601fb3a3144a3bfde..60d8128772a77239b4d482b13f3f3e48344e08ba 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/94004 - missing -Walloca on calls to alloca due
    to -Wno-system-headers
    { dg-do compile }
-   { dg-options "-O2 -Wall -Walloca-larger-than=8 -ftrack-macro-expansion=0" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Walloca-larger-than=8 -ftrack-macro-expansion=0" } */
 
 #include "Walloca-larger-than-3.h"
 
index aac8b9732f7540b73b9bad0f445863bdc83323d0..9d4c4e8d062a4ef9a6c7f1a0a5eb6838093b63e9 100644 (file)
@@ -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;
 
index 32ee15ff9ebf385167d3ac7932a0dab5a576f23f..284601d22ff8d6d3175dde76ee89d4df8248374e 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/82063 - issues with arguments enabled by -Wall
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Walloca-larger-than=0 -Wvla-larger-than=0 -ftrack-macro-expansion=0" } */
 
 extern void* alloca (__SIZE_TYPE__);
index 8165140ef42b257f9a2526ca3805078d9061ec25..7828b349987d7470b086b2b6b75ff0b83fd32b3d 100644 (file)
@@ -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 -ftrack-macro-expansion=0" }  */
 
 #define SIZE_MAX  __SIZE_MAX__
index 3b3693f088a751a9c4ed4a19f6dace76cbd4375e..9abc89cbc8615ac682a6da6afaebe982148c5079 100644 (file)
@@ -1,6 +1,5 @@
 /* PR tree-optimization/89662- -Warray-bounds ICE on void* arithmetic
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Wall" } */
 
 static void* vptr (void *c)
index 4effe5c2051b8fd70f092c780c6e46599587581a..8c72e650582e148d994b64732c8850cc32d88e82 100644 (file)
@@ -3,8 +3,7 @@
    Test to verify that past-the-end accesses by string functions to member
    arrays by-reference objects are diagnosed.
    { dg-do compile }
-   { dg-options "-O2 -Wall -Wno-unused-local-typedefs -Wno-stringop-overflow -ftrack-macro-expansion=0" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Wno-unused-local-typedefs -Wno-stringop-overflow -ftrack-macro-expansion=0" } */
 
 #define SA(expr) typedef int StaticAssert [2 * !!(expr) - 1]
 
index 5cae8566209da544c49c1307eae041de17b44131..1df78920797516861ab28b817bc390f122d9c080 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/91647 - missing -Warray-bounds accessing a zero-length array
    of a declared object
    { dg-do "compile" }
-   { dg-options "-O2 -Wall -fno-tree-vectorize" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -fno-tree-vectorize" } */
 
 typedef __INT16_TYPE__ int16_t;
 typedef __INT32_TYPE__ int32_t;
index e9203140a274a6672f7101d15e35421180bd21ec..b260660a1ee4e39cfc054e6d51dc5b80c6f3d09e 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/91647 - missing -Warray-bounds accessing a zero-length array
    of a declared object
    { dg-do "compile" }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 /* pr102706: disabled warnings because the now-disabled conditions for the
    bogus warnings to come up do not take cost analysis into account, and often
index 05c89b2d87fb6a40853da35e72aa0f85e3e10ff8..d6edfac6ad7d6e417fd58e6e79c029440f138302 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/92349 - ICE in -Warray-bounds on a VLA member
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 530e2c564528193be971a13fed8bd259c9e5a57c..0c9ca450c1577e9b4ec3d578e6dff27496e0eac4 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/94195 - missing warning reading a smaller object via
    an lvalue of a larger type
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 typedef __INT16_TYPE__ int16_t;
 typedef __SIZE_TYPE__  size_t;
index 6ab3398c762d908556884bb9f7f2c94e9194eb2f..0497c5f3d937bd3b578aee2b2a1f76c2e2a1332a 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/82608 - missing -Warray-bounds on an out-of-bounds VLA index
  { dg-do compile }
- { dg-options "-O2 -Wall -Wno-uninitialized -ftrack-macro-expansion=0" }
- { dg-require-effective-target alloca } */
+ { dg-options "-O2 -Wall -Wno-uninitialized -ftrack-macro-expansion=0" } */
 
 #include "range.h"
 
index 89e222038dbc9c4f90e7bb0d4f0b71680e476bd5..d792d09ffca49ce91802a1e770fef4dc2e23ab67 100644 (file)
@@ -1,7 +1,6 @@
 /* Exercise basic C-only cases of -Wdangling-pointer.
    { dg-do compile }
-   { dg-options "-O0 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O0 -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index e9316a5d239cecf0c5961888ccd719298bc78fd2..f11f2e0c633cfc73e8bbacba90bb2ba1edc439ca 100644 (file)
@@ -2,8 +2,7 @@
    Verify that attempting to reallocate unallocated objects referenced
    either directly or through pointers is diagnosed.
    { dg-do compile }
-   { dg-options "-O2 -Wall -Wfree-nonheap-object" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Wfree-nonheap-object" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index c7c668043a53e1c4fbcfce39191f5042ce90b36e..94b8f2ac6387736557ca682aa769473b5293a9c6 100644 (file)
@@ -3,8 +3,7 @@
    or through pointers is diagnosed.  In most cases this doesn't require
    optimization.
    { dg-do compile }
-   { dg-options "-Wall -Wfree-nonheap-object" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-Wall -Wfree-nonheap-object" } */
 
 typedef __INTPTR_TYPE__ intptr_t;
 typedef __SIZE_TYPE__   size_t;
index 4e7259734b2c1a580e5891f90cccacb062cbaa24..8061fda5985b59967bff97ae13d0a6decf036779 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
    a variable-length struct
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Wall" }  */
 
 int f (int n)
index 266443fe25d4ef5a933444bd9e50fb50aadae2d0..faec1e5c1c80beb8321a1bc8dd363af0e0ffaff9 100644 (file)
@@ -1,7 +1,6 @@
 /* Test to verify that VLAs are handled gracefully by -Wrestrict
    { dg-do compile }
-   { dg-options "-O2 -Wrestrict" }
-   { dg-require-effective-target alloca }  */
+   { dg-options "-O2 -Wrestrict" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 9273690fef320439fb13db71efc13abd1e7da45c..0e3435c825686cc1cca57898a448c81305e3d9d4 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/71924 - missing -Wreturn-local-addr returning alloca result
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 #define ATTR(...) __attribute__ ((__VA_ARGS__))
 
index e922888a4bfb1bc5594d869883f47fed69857769..6dad7af97e649261742f2b06198a16c7632c8a9b 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/71924 - missing -Wreturn-local-addr returning alloca result
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 #define ATTR(...) __attribute__ ((__VA_ARGS__))
 
index 4a3b07ba02cd4b4f9e7888cc8d8dedd55a5bf1a5..0a451efcaf03ea5510760588f7e16faac709af36 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/71924 - missing -Wreturn-local-addr returning alloca result
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 #define ATTR(...) __attribute__ ((__VA_ARGS__))
 
index 844660ff0152b47a095fb4ab8d59ccb169e276ac..70138b3eff8fb17d749ba31b74bce987cb93f577 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/71924 - missing -Wreturn-local-addr returning alloca result
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 5aea89a08791a30b90b2d73175af1720e73aa92e..f7adbfe519db68fda5ff2a2db00bd5adf4b43f02 100644 (file)
@@ -1,7 +1,6 @@
 /* Test -Wsizeof-pointer-memaccess warnings.  */
 /* { dg-do compile } */
 /* { dg-options "-Wall -Wno-array-bounds -Wno-sizeof-array-argument -Wno-stringop-overflow -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 
 typedef __SIZE_TYPE__ size_t;
 extern void bzero (void *, size_t);
index 11e3a27b66b130694439f3e4da438103bbe1a697..4738b69478b8a43ce679559f834d48cab0243913 100644 (file)
@@ -1,7 +1,6 @@
 /* PR 90983/manual documents `-Wno-stack-usage` flag, but it is unrecognized
    { dg-do compile }
-   { dg-options "-Wall -Wstack-usage=123 -Wno-stack-usage" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-Wall -Wstack-usage=123 -Wno-stack-usage" } */
 
 void f (void*);
 
index 87f5ef9d1719f2c8c860cc0c8c8658e9aff5ed86..e9f63d36872e19412da685d1b517c5926f652dc3 100644 (file)
@@ -1,7 +1,6 @@
 /* PR 41673: bogus -Wstrict-aliasing warning from VLA dereference.  */
 /* { dg-do compile } */
 /* { dg-options "-std=gnu99 -O2 -Wall" } */
-/* { dg-require-effective-target alloca } */
 
 int main(int argc, char *argv[])
 {
index e2cdcbcb078771f49b7313ae69609dd974ee624b..95d101ad02e573a439f69f16da730659e2463d3d 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O3 -Wstrict-overflow=2 -Werror" } */
 
 typedef __SIZE_TYPE__ size_t;
index f7dcb94dc13180902d9cc3efe308e1a85dc9261d..9002eee9c8ab7e6026299771479ed6246ca15ca3 100644 (file)
@@ -4,8 +4,7 @@
    for either kind of VLAs (member and non-member).
    Diagnosing the accesses is the subject of pr82608.
    { dg-do compile }
-   { dg-options "-O2 -Wall -Wno-array-bounds" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Wno-array-bounds" } */
 
 void sink (void*);
 
index 0da916ad993c9dc42f48b35f552f3b568f521fc8..842d4d18d155d498064351196c10f1ac4dd65a5e 100644 (file)
@@ -4,8 +4,7 @@
    warnings are issued for calls to user-defined functions with attribute
    access and with non-constant out-of-bounds arguments.
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 #include "range.h"
 
index bc6095875753dd676eb00173af8d0451b663acd8..109a1dd91274f1da946ee374ed5416fe9acf0e1a 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/91582 - missing heap overflow detection for strcpy
    { dg-do compile }
-   { dg-options "-O2 -Wall -Wno-array-bounds -ftrack-macro-expansion=0" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Wno-array-bounds -ftrack-macro-expansion=0" } */
 
 #include "range.h"
 
index 607c27989a3bfcf05ac2cf1f745bcd81ae6d2f8c..39d999eebbf87f62ada10a5d5161c42e567c6880 100644 (file)
@@ -2,8 +2,7 @@
    PR middle-end/85484 - missing -Wstringop-overflow for strcpy with
    a string of non-const length
    { dg-do compile }
-   { dg-options "-O2 -Wall -Wno-array-bounds" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Wno-array-bounds" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 6c8cbf3898ebe272cbd7e7136372e72b6b7861e4..590184461a9225731efacf54dadc28ec87e592e2 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/84238 */
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
-/* { dg-require-effective-target alloca } */
 
 char a[1];
 int b;
index 295a38de926bf74ede438250d928b7a81b079b0f..f83646a37217f2f4bc00593c4c6ca3e1e9003cfe 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/95667 - unintended warning for memset writing across multiple
    members
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 extern void sink (void*);
 
index 5ba4de48f5a5afe04037e6c5058f2bd91eb73734..b3e598ca30e4ab34790271b544be7dffb485651d 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/92942 - missing -Wstringop-overflow for allocations with
    a negative lower bound size
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 #define SIZE_MAX        __SIZE_MAX__
 #define UINT8_MAX       __UINT8_MAX__
index 6ae8589070f098dcfaa00ba3bfefd8b8bacb8759..173aa164646042158f5b7247135c5e5ed946bef3 100644 (file)
@@ -1,8 +1,7 @@
 /* Verify that an anti-range ~[A, B] with small positive A and B
    is handled correctly and doesn't trigger warnings.
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 typedef __typeof__ (sizeof 0) size_t;
 
index 0f01082ede4013f66e7a70c8bd6dcd89d0e57ccb..7b8f3f014c63b359ebf6ebbfca6735b41dd3bb14 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/100571 - bogus -Wstringop-overflow with VLA of elements
    larger than byte
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 __attribute__ ((access (read_only, 1, 2))) void fro (int *, int);
 __attribute__ ((access (write_only, 1, 2))) void fwo (int *, int);
index 74311ecf7ff47c7fab4ca610c544d236d32da3ce..f56a00560b0016400f6cb07af694e1d9b69b0e69 100644 (file)
@@ -2,8 +2,7 @@
    a larger scalar into a smaller array
    Verify warnings for overflow by stores of results of built-in functions.
    { dg-do compile }
-   { dg-options "-O2" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2" } */
 
 typedef __INT16_TYPE__ int16_t;
 typedef __SIZE_TYPE__  size_t;
index 6c679747e7096c2e5cfac24ecbd9c8a2ce94970e..57f4d64188a6a875ab9f96ddb63be6e9c82ee7ea 100644 (file)
@@ -1,6 +1,5 @@
 /* PR c/85931 - -Wsizeof-pointer-memaccess for strncpy with size of source
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Wall -Wstringop-truncation -ftrack-macro-expansion=0" } */
 
 typedef __SIZE_TYPE__ size_t;
index f0617f953039e8e63405bf0f65c8fbd65b5f45bc..384c930c9951d1c66387ddc610e80d7e4afa7b31 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Wvla-larger-than=100 -O2" } */
 
 typedef __SIZE_TYPE__ size_t;
index a3a053402f7f5307a2e395987b78d4e05c6e69c1..bafc02478b197663ace246b83a9503a84c1ae523 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target stdint_types } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O2 -Wvla-larger-than=40" } */
 
 #include <stdint.h>
index 70011f1d3829eb9d549112e827e760efa5a3b844..e6769bec26d8b9a96b9c12c01206358352742703 100644 (file)
@@ -1,7 +1,6 @@
 /* Verify that VLA definitions with an unknown upper bound don't trigger
    -Wvla-larger-than= warnings by default.
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Wall" } */
 
 void f (void *, ...);
index 7d27829736fbdfe06b02dcd536247c833df44546..3e1781c5267dba455293b9bcc1eb17994a8dbed3 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/94004 - missing -Walloca on calls to alloca due
    to -Wno-system-headers
    { dg-do compile }
-   { dg-options "-O2 -Wall -Wvla-larger-than=31 -ftrack-macro-expansion=0" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -Wvla-larger-than=31 -ftrack-macro-expansion=0" } */
 
 void sink (void*, ...);
 
@@ -17,14 +16,14 @@ static inline void inline_use_vla (unsigned n)
 static inline void use_inlined_vla (unsigned n)
 {
   inline_use_vla (n);         // this call is okay
-  inline_use_vla (n + 1);     // this one is not (line 20)
+  inline_use_vla (n + 1);     // this one is not (line 19)
 }
 
 void call_inline (void)
 {
-  use_inlined_vla (31);       // line 25
+  use_inlined_vla (31);       // line 24
 }
 
 /* Verify that the inlining context is included and that it points
    to the correct line number in the inlined function:
-   { dg-message "function 'inline_use_vla'.*inlined from 'use_inlined_vla'.*:20:.*inlined from 'call_inline' .*:25:" "" { target *-*-* } 0 }  */
+   { dg-message "function 'inline_use_vla'.*inlined from 'use_inlined_vla'.*:19:.*inlined from 'call_inline' .*:24:" "" { target *-*-* } 0 }  */
index ebd7fb3e017f742bdb0aef05fab2a566a6dcb17d..c131f837a1b1d2a7d3cc1cba184b484dd3743e95 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/100510 - bogus -Wvla-large-than with -Walloca
    { dg-do compile }
-   { dg-options "-O0 -Walloca -Wvla-larger-than=1000" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O0 -Walloca -Wvla-larger-than=1000" } */
 
 void f (void*);
 
index 6b6bba338aefb1b61a375951fbb8645fac92980f..949306203c0c4b992c11dedb70044b7ae8770b91 100644 (file)
@@ -1,7 +1,5 @@
 /* Adapted from malloc-1.c, but wrapping the pointers in a struct.  */
 
-/* { dg-require-effective-target alloca } */
-
 #include <stdlib.h>
 
 extern int foo (void);
index 1bac24f4c67ee9a4e2facf14de4877daeef81fbb..48c4815f527ca545a22ca55104fd7fb91e3fbd7b 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-additional-options "-fanalyzer-call-summaries --param analyzer-min-snodes-for-call-summary=0" } */
-/* { dg-require-effective-target alloca } */
 
 /* There need to be at least two calls to a function for the
    call-summarization code to be used.
index 3c4a45f4a4af2d052618290178ea2ee9132b5124..e7a44d2e353f0b7504f0a9ad1b7e0b56ac135ce9 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-fno-ipa-modref" } */
 
 #include <stdlib.h>
@@ -722,7 +721,7 @@ void test_29c (int len)
   __analyzer_eval (q->x == 107024); /* { dg-warning "TRUE" } */
   __analyzer_eval (q->y == 107025); /* { dg-warning "TRUE" } */
 
-  __analyzer_eval (p[10].x == 0); /* { dg-warning "use of uninitialized value '\\*p\\\[10\\\].x'" } */
+  __analyzer_eval (p[10].x == 0); /* { dg-warning "use of uninitialized value '\\*p\\\[10\\\].x'" "" { xfail { ! alloca } } } */
 }
 
 void test_30 (void *ptr)
index 2a42a05fb9e65132a0cdb053505703abf9155166..b0882e0bab079c16c9ac340e86701ac19bd0ad30 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 #include <stdlib.h>
 
 extern int foo (void);
index 4575ff5563d79e29c3c4b480bd08f787326f17a3..f0fafe507f1d1a798aeac22fb15515e33dcce103 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 #include <stdlib.h>
 #include "analyzer-decls.h"
 
index 3573750e57ab9b2a937389910b2c58a8b7a71d91..0d81d08757850704de987edf37c8adaf8af9611f 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */
-/* { dg-require-effective-target alloca } */
 
 #include <string.h>
 #include <stdlib.h>
index 4ccba46f8dacf6013610315446f5a9200ef227d2..c21de073f5224f063b30cf46bed4e7609e0c5d5c 100644 (file)
@@ -5,7 +5,6 @@
 /* { dg-do "compile" } */
 /* { dg-additional-options "-Wno-old-style-definition -Wno-analyzer-too-complex" } */
 /* TODO: remove the need for this option.  */
-/* { dg-require-effective-target alloca } */
 
 /* Handle aliases for locale names.
    Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc.
index 2be52f050336078106806ec236aa987d9fd101a9..43958ba031e48479c3c88cf34bed1da9c062c1b7 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-additional-options "-Wno-analyzer-null-argument" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "has no putenv" { "avr-*-*" } } */
 
 #include <stdio.h>
index dfb585bc613b6ff5e9abb511c7491c89983c2511..73746919330f38d78dfcd5ec07128f9682052759 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-require-effective-target alloca } */
-
 #include "analyzer-decls.h"
 #include <stdio.h>
 #include <stdlib.h>
index c205ee13465b302e75614ac899e5c8b082450019..61ac1c6aeb08b1487cd901b81aac4f1db0eb3895 100644 (file)
@@ -1,3 +1,3 @@
-/* { dg-do compile }
-   { dg-require-effective-target alloca } */
+/* { dg-do compile } */
+
 #include "../../Warray-bounds-41.c"
index 18a5f8d8cc53afce86a43be7b56bd8eeabcbbe63..2e1e6a09feadc89b126cf88c7fa40bc7ddf16dca 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
 /* { dg-additional-options "-fsanitize=bounds" } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdlib.h>
 #include "../analyzer-decls.h"
index 9561d742c3a8ed86bf6df743e9caaa3b6a95d151..905f0d79991ea32ac527d80c199c64bcfc7e12f5 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-require-effective-target alloca } */
 #include "analyzer-decls.h"
 
 void test_1 (int n)
index cdfb701207c70a74e374d182a5aeaa72e1771920..f43fa49ef12eca233d2478f8ad25e7047cf4b2eb 100644 (file)
@@ -2,7 +2,6 @@
    with side effects.  */
 /* { dg-do run } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdatomic.h>
 
index e28057f900731d1d242c88aefb274e5a6ebee85a..1c12c01729a9569be54add0d563996f0db50630a 100644 (file)
@@ -4,7 +4,6 @@
    to allocate objects in excess of the number of bytes specified by
    -Walloc-larger-than=maximum.  */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O0 -Wall -Walloc-size-larger-than=12345 -Wno-use-after-free" } */
 
 #define MAXOBJSZ  12345
index 6c26935211ab8386e782e2c1be1f6684926cc2fb..47bb0aee551235b8dfc50a49983ac659f79d6f0b 100644 (file)
@@ -3,7 +3,6 @@
    detect and diagnose calls that attemnpt to allocate objects in excess
    of the maximum specified by -Walloc-size-larger-than=maximum.  */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O1 -Wall -Walloc-size-larger-than=12345 -Wno-use-after-free" } */
 
 #define SIZE_MAX   __SIZE_MAX__
index 7b47b045b1184aa761b994a98489856fb6751dce..488d2d8a97284060db547428a25389fa2bf82a42 100644 (file)
@@ -3,7 +3,6 @@
    -Wvla-larger-than, and -Walloc-size-larger-than options.  The former
    two more specific options override the more general latter option.  */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O -Walloc-size-larger-than=123 -Walloca-larger-than=234 -Wvla-larger-than=345" } */
 
 typedef __SIZE_TYPE__ size_t;
index 0c50b0ab63cd3469196a29147cd2e0af6a64652a..0e75bb2b535be08351162c4a649fc40b9c93b586 100644 (file)
@@ -3,7 +3,6 @@
    with attribute malloc.  This means that the pointer they return
    can be assumed not to alias any other valid pointer.  */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
 
 void sink (void*);
index b2485bb7f0bf17b0cf8bc82f62f8004e0dd11a52..9e5fbf3435c71ccafaaf09b8567854aac8917608 100644 (file)
@@ -1,7 +1,6 @@
 /* Test the noipa attribute.  */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-require-effective-target alloca } */
 
 static inline int __attribute__((noipa))
 fn1 (void) /* { dg-warning "inline function \[^\n\]* given attribute 'noinline'" "" } */
index 64377d380ee914b0c9fd2cf5512d7e670af335ea..693e5439d6ed5627a33c048b36e4ef2098b9705d 100644 (file)
@@ -3,8 +3,7 @@
    Verify that passing pointers to uninitialized objects to const
    arguments to built-ins is diagnosed where expected.
    { dg-do compile }
-   { dg-options "-O -Wall -ftrivial-auto-var-init=zero" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O -Wall -ftrivial-auto-var-init=zero" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 6dccf014fe2bedb5a40e64352c8625ddc4208c5d..2597b9b32d11943a942018e0701301a4fb3da843 100644 (file)
@@ -3,6 +3,5 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O -Wuninitialized -ftrivial-auto-var-init=zero" } */
-/* { dg-require-effective-target alloca } */
 
 #include "uninit-9.c"
index 882bf2c13fba9b2f0c4615d4fbb907bbcf957d40..f47693abbf3b3fa4108d222d635f5dc97f1b1c4d 100644 (file)
@@ -1,7 +1,6 @@
 /* Test __auto_type.  Test correct uses.  */
 /* { dg-do run } */
 /* { dg-options "" } */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 extern void exit (int);
index 400fd9bc8f809db0be7485088abe7c410463df21..bc1bd5bf4e8f97899a9fa1f8e71bdca698d8e239 100644 (file)
@@ -3,7 +3,6 @@
    attribute alloc_size that __builtin_object_size can make use of (or
    are treated as if they were for that purpose)..
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-additional-options "-O2 -fdump-tree-optimized" } */
 
 void sink (void*);
index 9d0eadd6be44379fa0b7c3aa3348b103a1940c30..1b9bef8a28637ee5296886b4736a65775223938a 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-additional-options "-O2 -fdump-tree-optimized" } */
 
 #define __builtin_object_size __builtin_dynamic_object_size
index 76b4f704fed9c4de31d10a486759ce8d144a99ad..abac7ec18474347514d06ebc8c40d3e84204d654 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #define __builtin_object_size __builtin_dynamic_object_size
index cb757a8d699cff1069ae54e7183b84c47869b0d2..3a14ecc27353ba76e3fbd32a22c079522e40fddd 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #define __builtin_object_size __builtin_dynamic_object_size
index 8a12f023f27bc68f3cc4af5893a9bf6d5ff9f70d..75737ac6877559bcd137fbaa5a144c6068cc3a50 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #define __builtin_object_size __builtin_dynamic_object_size
index 0efc2d98584222ff4ff7523f684fa6e60e570d90..4a909b263a700c10c79c7ee4226fbed39f8a76eb 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #define __builtin_object_size __builtin_dynamic_object_size
index 6161adbd12890687da5c27f2c08d00ad16535172..ad1411c9d132ee3b78750e7bc6e3e9d42ba1ddc0 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #include "builtin-object-size-common.h"
index c28d72eee9bfedce12b5de5940971223fd054aa6..447e2ac229be6f81777c70d60872267a3561d7b7 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #include "builtin-object-size-common.h"
index e0c967e003f60ca1eba43213e99e2a615dd3a46b..c3153605414622101d13da8cca827a6ddc780617 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #include "builtin-object-size-common.h"
index 7bcd24c415071fb4fdb2dbc36bf0ef6d34438658..ec7cde9522bf57862bf5d3c565b1b67cb9599c0a 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-stringop-overread" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-DSKIP_STRNDUP" { target { ! strndup } } } */
 
 #include "builtin-object-size-common.h"
index 3c04c44a6776e99cddb51a4fe7ec0ab17809a452..6e84633d5916a06d8d91c5bd51e0d81e5304d640 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-require-effective-target alloca } */
 
 int main ()
 {
index 1247394e4d9f49f0b912f3e5858cbc12819a3be4..0835d80a32b1e0877cd095753ff6f03969b198ec 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/69780 - [4.9/5/6 Regression] ICE on
      __builtin_alloca_with_align with small alignment */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Wno-long-long" } */
 
 #define CHAR_BIT  __CHAR_BIT__
index 4318e9984c3deea1abf31bc0c6bc59197536ead8..1dc4feb98da63977706fdac7d4af06f99d3d9efc 100644 (file)
@@ -1,7 +1,6 @@
 /* Test C23 auto.  Valid code, execution tests.  Based on auto-type-1.c.  */
 /* { dg-do run } */
 /* { dg-options "-std=c23 -pedantic-errors" } */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 extern void exit (int);
index e477e5d162d0d76fb84f304f8e8b8338b1590326..0ee525bec61c85656b2733899a760ca60bb1a077 100644 (file)
@@ -3,7 +3,6 @@
 /* Origin: Joseph Myers <joseph@codesourcery.com> */
 /* { dg-do compile } */
 /* { dg-options "-std=iso9899:1999 -pedantic-errors -frounding-math" } */
-/* { dg-require-effective-target alloca } */
 
 void
 f (void)
index 4501852066c40be58118f99cb24517699df2259e..4a3a0f8e238a66b8776e21736f426ead94d9850b 100644 (file)
@@ -1,7 +1,6 @@
 /* Origin: PR 3467 */
 /* { dg-do compile } */
 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
-/* { dg-require-effective-target alloca } */
 
 void
 tdef (int n)
index 4a3851242e08c2de249e38aaf641d139c48d285d..4bd2ee1d0a14ae77850b340fbed8c43b8e2685bf 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-require-effective-target alloca } */
+/* { dg-require-effective-target alloca }
+   See 'struct-by-value-22_y.c'.  */
 /* { dg-skip-if "limited code space" { pdp11-*-* } } */
 
 /* Test variable sized function argument passing.
index 733aeecca306ed50bf9faaffa8b848421ab6576b..9cace17c5004f9c30d1abe153820ffb22ade4899 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-fdump-tree-cfg" } */
-/* { dg-require-effective-target alloca } */
 
 void *alloca (__SIZE_TYPE__);
 void link_error ();
index fa6d7ffc696b1ae6eb08812445ff5bfd757d2ffb..6a042ce69746fbf65192cf2ef575725a6357484a 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/30494 */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 
 int
 foo (int n)
index ea7c652553ac9117f746b9f92cfbc2903f110245..fc18ffc5743a370ddbd499623bfac4385a2c446b 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-do compile }
-/* { dg-require-effective-target alloca } */
 
 void foo(int n, int i)
 {
index 5070907f1e76c71fb8eea189e8afb81ee6fbbc0b..b1677b833ef7d26efdd1a365a09674236886a769 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-do compile }
-/* { dg-require-effective-target alloca } */
 
 void foo(int n, int i)
 {
index e784c74058c1f3057692ae218e1b4358424aaa48..2c3c0aa43b7d53f0d129562a45939249a01e8730 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-do compile }
-/* { dg-require-effective-target alloca } */
 
 void foo(int n, int i)
 {
index 20be204a5e15205f82f737d669f6b8278feb971f..6c6d5517af845a876ae4a6d155b0a360c0ed3af1 100644 (file)
@@ -1,5 +1,4 @@
 // { dg-do compile }
-/* { dg-require-effective-target alloca } */
 
 void foo(int n, int i)
 {
index dd068862fb76accfca515f5d18c42b35190a103f..dc1c9359ef0c11cc81f1d371627f230298f1de1c 100644 (file)
@@ -1,7 +1,6 @@
 /* PR target/99085 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fgraphite-identity -fsel-sched-pipelining -fselective-scheduling2" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int m, int n, int o, int i)
index a4de5646fc7f557adb5a10ab85834f546fe5c69d..f565624017a2155a743917541590178f33976b83 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run { xfail { ! aarch64*-*-* } } } */
 /* { dg-options "-g" } */
-/* { dg-require-effective-target alloca } */
 
 #include "guality.h"
 
index f936ed16f1c0f7199fc95c95f0b732851c8ba06e..3dd6c72d757a5ff6b78ec7907eb38b930159bf63 100644 (file)
@@ -1,5 +1,4 @@
 /* PR c/80778 */
 /* { dg-lto-do link } */
-/* { dg-require-effective-target alloca } */
 
 #include "../auto-type-1.c"
index e017fba871e3159f841564e7e70b0f0ee6e15561..ac6f76fbbe7c66a08ad00f04c3b3da7a9249b8a8 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/70093 */
 /* { dg-do compile } */
 /* { dg-options "" } */
-/* { dg-require-effective-target alloca } */
 
 void __attribute__((noinline, noclone))
 foo (int n)
index d617d7e4487393f276788f8a1d572a410c242365..abeabe710604171b92b43e3e2af6028013121990 100644 (file)
@@ -1,7 +1,6 @@
 /* PR target/88620 */
 /* { dg-do run } */
 /* { dg-options "-Ofast --param ipa-cp-eval-threshold=0 -fno-guess-branch-probability -fno-inline-small-functions" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int n)
index 697a623541093c9e88698367d0ef2ddcb52d7306..b596bf68199cafba804bbe98ffb7aba8098ee5f8 100644 (file)
@@ -1,6 +1,5 @@
 /* Test nested-func-12.c with -std=gnu17.  */
 /* { dg-do run } */
 /* { dg-options "-Ofast --param ipa-cp-eval-threshold=0 -fno-guess-branch-probability -fno-inline-small-functions -std=gnu17" } */
-/* { dg-require-effective-target alloca } */
 
 #include "nested-func-12.c"
index 05a77bdb1a5a25b508070f283e919fa64619d8d8..ebf6706968c0c184e6cdcb58c8db2e2f00826ad3 100644 (file)
@@ -1,6 +1,5 @@
 /* Test nested-func-12.c with -std=gnu23.  */
 /* { dg-do run } */
 /* { dg-options "-Ofast --param ipa-cp-eval-threshold=0 -fno-guess-branch-probability -fno-inline-small-functions -std=gnu23" } */
-/* { dg-require-effective-target alloca } */
 
 #include "nested-func-12.c"
index 490d69599868ec1de764462c2940e86e00fdba5f..231423bca93044d287ef636bb7a7f80af03899bd 100644 (file)
@@ -2,7 +2,6 @@
    to non-inlined nested function returning variable-size struct.  */
 /* { dg-do run } */
 /* { dg-options "-O3 --param ipa-cp-eval-threshold=0 -fno-guess-branch-probability -fno-inline-small-functions -std=gnu23" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int n)
index 061485727bba38dc38c1ffddad955fe503420813..4399406f2447d27f86c65b752d2f80603a9a6b6c 100644 (file)
@@ -2,7 +2,6 @@
    to non-inlined nested function returning variable-size struct.  */
 /* { dg-do run } */
 /* { dg-options "-O3 -fno-guess-branch-probability -std=gnu23" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int n)
index 3441d79ac0ddc119b78bf3fcc54fb20d38a2790c..6fa247a0b16e1323888317214f4a670a056c8ab8 100644 (file)
@@ -2,6 +2,5 @@
    to non-inlined nested function returning variable-size struct.  */
 /* { dg-do run } */
 /* { dg-options "-O3 --param ipa-cp-eval-threshold=0 -fno-guess-branch-probability -std=gnu23" } */
-/* { dg-require-effective-target alloca } */
 
 #include "nested-func-16.c"
index 633ab6993d0ac63014e54afea16882a94e0cac88..902c258539354b107a6e3dfb44636ef3e988fa4e 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/70093 */
 /* { dg-do run } */
 /* { dg-options "" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int n)
index e673b729b5463819169be4294b171526f51bfb92..04ccb96636dce064c17fea16a45b6d7285d109d8 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/27945 */
 /* { dg-do run } */
 /* { dg-options "" } */
-/* { dg-require-effective-target alloca } */
 
 extern int printf (const char *, ...);
 extern void abort ();
index f0efd29fa869b43c3b710933b83c959cde5d8586..b32163441a3c37bdfd8d085ac4e958821afcf0c1 100644 (file)
@@ -1,7 +1,6 @@
 /* PR rtl-optimization/100225 */
 /* { dg-do compile } */
 /* { dg-options "-O1 -fmodulo-sched" } */
-/* { dg-require-effective-target alloca } */
 
 void
 vorbis_synthesis_lapout (void);
index ecf5669403da2c9177653c02868b2c00cb636617..e8cab1d05e508c9afa1db3d60655d63edf6116e0 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/25682 */
 /* { dg-do compile } */
 /* { dg-options "-ansi" } */
-/* { dg-require-effective-target alloca } */
 /* Test whether we don't ICE on questionable constructs where offsetof
    should have been used instead.  */
 
index cc55c745a0337065ba75832ea04131e1dd1efe83..3b5a8f55b5d533b39c36b2477d8ad9ee1441598a 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/27301 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -std=gnu89" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (void *ptr, long n)
index f6a7e747dbf234d060d2db476c2a0cced048a8e4..dbba1e1fcdb3bfe7ce1784b85cd838a20af9bf9f 100644 (file)
@@ -1,7 +1,6 @@
 /* PR target/31507 */
 /* { dg-do run } */
 /* { dg-options "-Os -fno-omit-frame-pointer" } */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 
index 993384a186de3fc1d6b579f324f8aa1d2c4818ae..0b399041a867f0909337f243b337dac556257007 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/33238 */
 /* { dg-do compile } */
 /* { dg-options "-std=gnu89" } */
-/* { dg-require-effective-target alloca } */
 
 void
 reverse (void *x, int y, int z)
index 7374facea0ff5c640cda4621c48c6d19d27a0270..b34919eb78e4d3df857fbb116df918fed9913859 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-fexceptions" } */
-/* { dg-require-effective-target alloca } */
 /* { dg-require-effective-target exceptions } */
 
 void cf (void *);
index 50993e69dfd2b1ca428f0db93d365a4cd56f4d85..1a65222cfecaa538ba7dea27e01ed2eb3173c71d 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/49120 */
 /* { dg-do compile } */
 /* { dg-options "-Wall" } */
-/* { dg-require-effective-target alloca } */
 
 int
 main ()
index e0cd320db03ad69a52d7f4005312fed1aa125501..e3b8da8670f8adea7069463a9fd884eccb43b5b9 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fsched2-use-superblocks -ftree-tail-merge" } */
-/* { dg-require-effective-target alloca } */
 
 typedef int aligned __attribute__ ((aligned (64)));
 extern void abort (void);
index 429ee4e59149c8ea8b92e8f41a7e03110d52f7db..f2dc8df028d7f31e2b2a994f528f794d58f232c4 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-ccp1" } */
-/* { dg-require-effective-target alloca } */
 
 int g (int *);
 
index 702bab91357b4ad0009f5e7775ea7c3125427a8e..1ced0a833a8febf38c7bef58f860b16305822663 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
-/* { dg-require-effective-target alloca } */
 
 int y;
 extern int foo (int, ...) __attribute__((pure));
index 4f7e0e4fd370e0021c11d1760cfd4a7ee89cd658..c7d1b53798557b7911fe91edca117a98d25cb8aa 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
-/* { dg-require-effective-target alloca } */
 
 int
 zzz (char *s1, char *s2, int len, int *q)
index b0d6c0f30a1d06e06dc72ec2f672ef80d1d8992c..2fb8187ad55212c0e30559b2a0790b9a6c26abad 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/59011 */
 /* { dg-do compile } */
 /* { dg-options "-std=gnu99" } */
-/* { dg-require-effective-target alloca } */
 
 void
 foo (int m)
index 49cbe5dd27a61faed54c933cf86f8e53c6a79437..013ae53007f8ded2213833a6974078f6d288bb14 100644 (file)
@@ -2,7 +2,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3" } */
 /* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */
-/* { dg-require-effective-target alloca } */
 
 int *
 foo (int a, int *b, int *c, int *d)
index 47d0ff0b818e76ef755caacf8acde3354207f77f..1512f20e3d043a216aeea7aeca77cff16829ca62 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/61561.  */
 /* { dg-do assemble } */
 /* { dg-options " -w -O2" } */
-/* { dg-require-effective-target alloca } */
 
 int dummy (int a);
 
index a882d9a7deea8943d8babaa00259b048e96a508a..5412ce979ef5d45b27bab1b8ca9f6b614cdb7203 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O2 -fno-inline" } */
 
 /* Test that targets correctly round the size of the outgoing arguments
index a9a617cde23908f5672e889faefbe3a7858e3890..df567e032c33bd49dedf464a4407fd5135074e64 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 
 void *ptr;
 
index 4d3064fb5d6c6d304388a16bcb0a8b35d3804927..9d75463b5f8d47c7a2c8b5df622c1c2287e17b86 100644 (file)
@@ -1,6 +1,5 @@
 /* PR tree-optimization/79972 */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Walloca -Wvla-larger-than=10000" } */
 
 int
index 52f1de7736747ce8bb1ee054d9e3df6347c21c8c..5b97b80da2611a4fc1a6162348cbbc56e6f28bef 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/82875 */
 /* { dg-do compile } */
 /* { dg-options "-ftree-ter" } */
-/* { dg-require-effective-target alloca } */
 
 const int a = 100;
 
index 0d26b555669fba0a5e320592d06211d3db280d52..fdbc1912fb92fdffb7558f7267d250921af1c18d 100644 (file)
@@ -1,7 +1,6 @@
 /* PR c/83844 */
 /* { dg-do compile { target int32plus } } */
 /* { dg-options "-O0 -Wall" } */
-/* { dg-require-effective-target alloca } */
 
 typedef unsigned long long __u64 __attribute__((aligned(4),warn_if_not_aligned(8)));
 void bar (void *, void *, void *);
index ced2e5d93295da19cc027aadc0656138ee6db042..0ba96516fe31b6be330f6009b3da1fec5436dec8 100644 (file)
@@ -1,8 +1,7 @@
 /* PR 94131 - ICE on printf with a VLA string and -fno-tree-ccp
    -fno-tree-forwprop
    { dg-do compile }
-   { dg-options "-O1 -fno-tree-ccp -fno-tree-forwprop" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O1 -fno-tree-ccp -fno-tree-forwprop" } */
 
 void rv1 (int n)
 {
index 47e2315de0e91ae9c257bbf09bba6fb043f10704..599d721da318df75667d9b7ad9843121526ce3ff 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/87099 */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-Wstringop-overflow" } */
 
 void bar (char *);
index b92ba89e42fbe332ef8e9cd2f6e9a8d1159350ad..38ece590aabc3c77eed4c9779eb9585b408aa9bb 100644 (file)
@@ -1,6 +1,5 @@
 /* PR tree-optimization/87320 */
 /* { dg-do run } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O3" } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 2b5730d4888b64515a16cb718d37b6db2a878c2c..d8ba65b62ed33d9d0e5eede2ad98207894e5658b 100644 (file)
@@ -1,6 +1,5 @@
 /* PR c/89045 */
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "" } */
 
 int
index eb37b333b5bb4697baf76a681e3596785ee6c192..19bc17b5c8223af71355c0c5b3928b3a66c4671c 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O" } */
-/* { dg-require-effective-target alloca } */
 
 void foo(void)
 {
index 0d533f4dbc2fabbbe44e3c504d58102998a875ea..bdbc192a01da314510226a3b62d669c4009a3e06 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/93986 - ICE in decompose, at wide-int.h:984
    { dg-do compile }
-   { dg-options "-O1 -foptimize-strlen -ftree-slp-vectorize" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O1 -foptimize-strlen -ftree-slp-vectorize" } */
 
 int dd (void);
 
index 1c7574fb8838a1e2f3166d6cdc9c56b67bcea965..868b071afc5148b06554eaaafaaf7542a1e94f9c 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/98721 */
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
-/* { dg-require-effective-target alloca } */
 
 int
 foo (int n)
index 3947f7dcdc80886c7fe1c1c52d858380a48f80cd..1e908b2f27d954b07bbedeab4462c85e5495ff7a 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-std=gnu17 -O2 -g -w" } */
-/* { dg-require-effective-target alloca } */
 
 static int foo ();
 
index b9a2af1c51bc34c05b036e2f60b02a5e0c773770..fbe6f4fd20d80e1d398f039a8e692323033493ab 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -g" } */
-/* { dg-require-effective-target alloca } */
 
 int *p;
 
index 7b1590ad03a7bb83bd88c5caf54cd9ab7310e053..aeff3fb16fb8d6e76694f4136f2ddbd41052139d 100644 (file)
@@ -2,7 +2,6 @@
 /* Testcase by George Thopas <george.thopas@gmail.com> */
 
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 
 #include <stddef.h>
 #include <stdlib.h>
index 569c18a91646370e396f197778fb7118d23d8818..0e09a7ab0e178c867cee7071c79a6c898ab64851 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/90662 - strlen of a string in a vla plus offset
    not folded
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Wall -fdump-tree-gimple -fdump-tree-optimized" } */
 
 #include "strlenopt.h"
index baa80cf96439cb04f2f42df26479ef12bb5f8cfa..5baafea5c320271c2942048d52c07decaad5e1d7 100644 (file)
@@ -1,8 +1,7 @@
 /* PR tree-optimization/83821 - local aggregate initialization defeats
    strlen optimization
    { dg-do compile }
-   { dg-options "-O2 -Wall -fdump-tree-optimized" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -fdump-tree-optimized" } */
 
 #include "strlenopt.h"
 char *p_p2, *p_p5, *p_p9, *p_p14;
index 0c9da3c1b59e3da73d10d37c4fabb32f22e3f330..d6102b6e6f572c45965dfdf44ec2fdf80f8a1206 100644 (file)
@@ -3,8 +3,7 @@
    Verify that stores that overwrite an interior nul are correctly
    reflected in strlen results.
    { dg-do run }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 #define false (0 == 1)
 #define true (0 == 0)
index a30556128edb7b696b1d9f04b4c652fa72b519a6..2381d03e44a24038a80910482547cb9f571c7666 100644 (file)
@@ -1,8 +1,7 @@
 /* PR tree-optimization/92412 - excessive errno aliasing assumption defeats
    optimization
    { dg-do compile }
-   { dg-options "-O2 -Wall -fdump-tree-optimized" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -fdump-tree-optimized" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 12e6f255bf5270126589c45856060cc2a3b06d76..3be9a851b494edc883ff96262519d5c6ed45d472 100644 (file)
@@ -4,7 +4,6 @@
 /* Test just twice, once with -O0 non-fortified, once with -O2 fortified.  */
 /* { dg-skip-if "" { *-*-* }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { *-*-* }  { "-flto" } { "" } } */
-/* { dg-require-effective-target alloca } */
 
 typedef __SIZE_TYPE__ size_t;
 extern void *memset (void *, int, size_t);
index 76db20ef67cc9fc5d1fb11d4c3cc201577033348..292791c7259e4e41ea4f1be8e90667edd3bd5ef5 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-fno-omit-frame-pointer" } */
-/* { dg-require-effective-target alloca } */
 
 #define alloca __builtin_alloca
 extern void abort (void);
index e5c8d6723b26b09d5cc6a8562141b1210652e4d8..41a3d7b80822a3e6f929bc9a12698799a88de82d 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-fno-tree-dce" } */
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 
 static inline int foo (int n, int k)
 {
index 34325ba164afd34a7789af75fd06732234828490..b17db1b21c1cca9bba3b69d639d242709c9d3567 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-additional-options "-g" } */
 
 int a, b, c, d, *e, f, g;
index 42e9b0e968acb86ce3d0a17ce5857e8518c5749e..0be1d73b38cf7ff5abc468940046fdbc89ee3fcd 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 
 typedef struct { int _mp_size; } mpz_t[1];
 int a, b;
index 75601d4392f744e9847f8887d13c37ce99cb3977..c83ecbcb7d72200a38f8eac789a4a05148119a77 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target int128 } */
-/* { dg-require-effective-target alloca } */
 
 void foo();
 
index 0046655f0d3b174637ea87a3c1372041c46873cd..008ec5a14289137dfaf0e5405138623afc2bcc9e 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
 
 extern void abort (void);
 int
index 488bdcbcce6309587dab3cc4d86f5b2b9a8b2038..b56f8ad665e3d45de7e0a4fd262daf9f478cc1e4 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-require-effective-target alloca } */
 
 int __attribute__((noipa))
 g (char *p)
index 6c9e5048d28a81a85060b8d82319710c14d3bf51..a20a01cd1ce0772f5915a182bffa76e4efba81c9 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 
 void foo(int n)
 {
index e654ab833097ed54521baeeec5e6e12076fd1040..f5af5365833bee55e4186b3a52575ce656aa3fac 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-additional-options "-std=gnu17 -fno-rerun-cse-after-loop -fno-guess-branch-probability -fno-tree-fre" } */
-/* { dg-require-effective-target alloca } */
 
 int x;
 
index 3189cd16234885f26cf3b79aead5a75de4448dd2..a22629181b1ab8fbd884974c1cc4dbe93ab2877f 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-stack-check "specific" } */
 /* { dg-additional-options "-fpermissive -fstack-check -w" } */
-/* { dg-require-effective-target alloca } */
 
 int a;
 struct b {
index 2f5d629895a05ea0a5f0aad38f806188015bc9bd..e9e816a3ee5eb874aedadfb2815d5d6af7721f8b 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include "check.h"
 
index 37ee84f9efa0933da874ab2cbc9cbc2d360ce3f3..e6e4fec65ac050e3514293a2ed64bed32983a3c0 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include "check.h"
 
index 4bebda6e2b93e9d4afe382538bdc953912bc2bca..6387c0d462a822efe10d7d579659a09427462b4d 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include "check.h"
 
index 819b73b59fd87abadbe88fc2ad6e8426a9101d9d..100ae1197cd16550ac07401fb6391fa6ac7ce5e0 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdarg.h>
 #include "check.h"
index f2d2a09215cfaad7564450ad515648cfb716acc2..bf7c1a135c68a1ea3d6123624b871fade2ccc508 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdarg.h>
 #include "check.h"
index 0712922b3638f983152ce2463474a0578667b506..259932480a166416e1cd2317483fb90204288250 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O1 -ftree-vrp -fdump-tree-dom2" } */
-/* { dg-require-effective-target alloca } */
      
 extern void abort (void);
 extern void bitmap_clear (int *);
index c472f8167a0db3c511edaca5372346e064900d76..8583574266e1c137fd577da68b9961bc6f62107a 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-einline" } */
-/* { dg-require-effective-target alloca } */
 
 void bar (char *);
 int i;
index c913d26d1323216245ee3cb420cb5669bdc27f61..6956209575a9fc9cd5ed4d6333a2846148317ec3 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target alloca } */
 /* { dg-options "-O2 -fdump-tree-dse1-details" } */
 
 int i;
index 82eb5851c59b0bb6776de4a67a474cb8805adab0..760095c3e096a3a4186f05227d983da2fbc25273 100644 (file)
@@ -1,8 +1,7 @@
 /* PR tree-optimization/91567 - Spurious -Wformat-overflow warnings building
    glibc (32-bit only)
    { dg-do compile }
-   { dg-options "-O2 -Wall -ftrack-macro-expansion=0" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -ftrack-macro-expansion=0" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index a28f0668c91783eddd8eb2b183dbcdf92ae9ab70..df46023d8c58aebd06e1851aa4e8b6cff970dfa5 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/97373 - missing warning on sprintf into allocated destination
    { dg-do compile }
-   { dg-options "-O2 -Wall -ftrack-macro-expansion=0" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -ftrack-macro-expansion=0" } */
 
 #include "../range.h"
 
index 999f55e3691b8e5c71a4a4e261f86a014a3ce6f0..a4229668b44b6b6053e62b1e1afa1f5a828847eb 100644 (file)
@@ -4,7 +4,6 @@
    -O2 (-ftree-vrp) is necessary for the tests involving ranges to pass,
    otherwise -O1 is sufficient.
    { dg-do compile }
-   { dg-require-effective-target alloca }
    { dg-options "-O2 -Wformat -Wformat-overflow=1 -ftrack-macro-expansion=0" } */
 
 typedef __SIZE_TYPE__ size_t;
index fca70d697130c4b7de36920c57b7dd34bf30edba..c07a53d2d9ae1b86f6dcaf75d4a8a8f6aa44f1a3 100644 (file)
@@ -1,7 +1,6 @@
 /* PR tree-optimization/83337 */
 /* { dg-do run { target int32plus } } */
 /* { dg-options "-O2 -floop-interchange" } */
-/* { dg-require-effective-target alloca }  */
 /* { dg-skip-if "too big stack" { visium-*-* } } */
 
 /* Copied from graphite/interchange-5.c */
index 8836ab229724a0faede4337b54cf23ca33413be1..c80ed85e8302fd0d7fe4d9a3b86199bcc8e5bd2c 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/23848 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-require-effective-target alloca } */
 
 void bar1 (char *, int);
 void foo1 (int size)
index 7b5be75bf8342cfabd349396709a166cb522703f..cdbf7b000316337289bb355e18db3bf09768a052 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/23848 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-require-effective-target alloca } */
 
 void bar (char *, char *, char *, char *, int);
 void foo (int size)
index ed3541e22e0c43f39db19c8284f348d35347357f..3232f3447f9097571161fcdd69c0764c06764ccf 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/23848 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-require-effective-target alloca } */
 
 void bar (int, char *, char *, char *, char *, int);
 void foo (int size)
index 0f7948c3e14cc6d05977d5dfb0760e0c61af1804..f32e8fab861fb517cf7e3a97caa8a49caaff5822 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/23848 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-require-effective-target alloca } */
 
 void bar (char *, char *, char *, char *, int);
 void foo (int size)
index 586b6355f436b0ab2414a344c8867c4bbf44fb76..846ac62de522753916fe70889680ab5a100b6d6c 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/10138 - warn for uninitialized arrays passed as const*
    arguments
    { dg-do compile }
-   { dg-options "-std=gnu17 -O -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-std=gnu17 -O -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index f6307ce591372d9464303141c514ce270996c7d9..9524e7ad1b98432f92b12bd8cd03c7891917dfee 100644 (file)
@@ -3,8 +3,7 @@
    Verify that passing pointers to uninitialized objects to const
    arguments to built-ins is diagnosed where expected.
    { dg-do compile }
-   { dg-options "-O -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index 9a202430b595e2a39b0cc254b993a7ec9223b1fd..0e8204b5540b2f7a36d8f366b17efb6d7f0dba6b 100644 (file)
@@ -6,8 +6,7 @@
    be adjusted.  Ditto if -Wuninitialized output changes for some
    other reason.
    { dg-do compile { target { { lp64 || ilp32 } || llp64 } } }
-   { dg-options "-O2 -Wall -ftrack-macro-expansion=0 -fno-ipa-modref" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -ftrack-macro-expansion=0 -fno-ipa-modref" } */
 
 #define CONCAT(x, y)   x ## y
 #define CAT(x, y)      CONCAT(x, y)
@@ -29,25 +28,25 @@ void sink (void*, ...);
   }                                            \
   typedef void dummy_type
 
-T (int, 0, 0);      // { dg-warning "'\\*\\(int \\*\\)a' is used uninitialized" }
-T (int, 0, 1);      // { dg-warning "'\\*\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)'" }
-T (int, 0, 2);      // { dg-warning "'\\*\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)'" }
-T (int, 0, 3);      // { dg-warning "'\\*\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)'" }
-T (int, 0, 4);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[1]'" }
-T (int, 0, 5);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[1]'" }
-T (int, 0, 6);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)\\)\\\[1]'" }
-T (int, 0, 7);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)\\)\\\[1]'" }
-T (int, 0, 8);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[2]'" }
-T (int, 0, 9);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[2]'" }
-
-
-T (int, 1, 0);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[1]' is used uninitialized" }
-T (int, 1, 1);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[1]'" }
-T (int, 1, 2);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)\\)\\\[1]'" }
-T (int, 1, 3);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)\\)\\\[1]'" }
-T (int, 1, 4);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[2]'" }
-T (int, 1, 5);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[2]'" }
-T (int, 1, 6);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)\\)\\\[2]'" }
-T (int, 1, 7);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)\\)\\\[2]'" }
-T (int, 1, 8);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[3]'" }
-T (int, 1, 9);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[3]'" }
+T (int, 0, 0);      // { dg-warning "'\\*\\(int \\*\\)a' is used uninitialized" "" { xfail { ! alloca } } }
+T (int, 0, 1);      // { dg-warning "'\\*\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)'" "" { xfail { ! alloca } } }
+T (int, 0, 2);      // { dg-warning "'\\*\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)'" "" { xfail { ! alloca } } }
+T (int, 0, 3);      // { dg-warning "'\\*\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)'" "" { xfail { ! alloca } } }
+T (int, 0, 4);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 0, 5);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 0, 6);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 0, 7);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 0, 8);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[2]'" "" { xfail { ! alloca } } }
+T (int, 0, 9);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[2]'" "" { xfail { ! alloca } } }
+
+
+T (int, 1, 0);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[1]' is used uninitialized" "" { xfail { ! alloca } } }
+T (int, 1, 1);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 1, 2);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 1, 3);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)\\)\\\[1]'" "" { xfail { ! alloca } } }
+T (int, 1, 4);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[2]'" "" { xfail { ! alloca } } }
+T (int, 1, 5);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[2]'" "" { xfail { ! alloca } } }
+T (int, 1, 6);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 2\\)\\)\\\[2]'" "" { xfail { ! alloca } } }
+T (int, 1, 7);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 3\\)\\)\\\[2]'" "" { xfail { ! alloca } } }
+T (int, 1, 8);      // { dg-warning "'\\(\\(int \\*\\)a\\)\\\[3]'" "" { xfail { ! alloca } } }
+T (int, 1, 9);      // { dg-warning "'\\(\\(int \\*\\)\\(\\(char \\*\\)a \\+ 1\\)\\)\\\[3]'" "" { xfail { ! alloca } } }
index 4d17f14725f185bb6f16ac548608710bda3b926d..0f9185427739e51e814123df4c39dff9ad7f6e5e 100644 (file)
@@ -1,8 +1,7 @@
 /* PR c/98592 - ICE in gimple_canonical_types_compatible_p while formatting
    a MEM_REF
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 void f (int);
 
index 2f138cb8e5cbd35c216d78f399021fc487cab90e..36a1f656eb2d3b1b51995acfc0c14939f8f38a0c 100644 (file)
@@ -1,8 +1,7 @@
 /* Verify that calls to non-modifying built-ins aren't considered
    potentially modifying.
    { dg-do compile }
-   { dg-options "-std=gnu17 -O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-std=gnu17 -O2 -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index ac24e7a83622d36ab505a2799e9ced0dd52b4327..493dd68d908743c3586974e9e9626c074635cee8 100644 (file)
@@ -3,7 +3,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-Wuninitialized" } */
-/* { dg-require-effective-target alloca } */
 
 struct foo
 {
index d1af7328a96ac7e9c9e306f12b2bd0e3245727ae..2a8ccb69f320dbb6039536d947a1ba3f08976571 100644 (file)
@@ -3,7 +3,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O -Wuninitialized" } */
-/* { dg-require-effective-target alloca } */
 
 struct foo
 {
index d47fc24cc5a768d31ff09fa315c95cc07d03db83..8e7a787ddac406fa584e1d585573b016b4e8e9c8 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/100250 - ICE related to -Wmaybe-uninitialized
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 extern void f (int D, const int[D], const int[D]);
 
index 840fd0b2d6274480b17088545a57c4947992f16c..4392e8bae4fe93d5b3b6764c7ebd3bc9d2fd3d5d 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/101300 - -fsanitize=undefined suppresses -Wuninitialized
    for a VLA read at -O0
    { dg-do compile }
-   { dg-options "-O0 -Wall -fsanitize=undefined" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O0 -Wall -fsanitize=undefined" } */
 
 int warn_vla_rd0 (int n)
 {
index 3c68d1495931906d3691192d1442319be6c9d6b1..d3267b6e43a4fe4c7a9c7b42c4958b6989ccebed 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/101494 - bogus -Wmaybe-uninitialized on memrchr of size 0
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 typedef __SIZE_TYPE__ size_t;
 
index db566c79136919f0f41bd701586a1b7eef3911b2..14db48e4eb34bf7e5fa924cf2bf7802bb6a4b065 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/98578 - ICE warning on uninitialized VLA access
    { dg-do compile }
-   { dg-options "-O2 -Wall -fno-ipa-modref" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall -fno-ipa-modref" } */
 
 void* malloc (__SIZE_TYPE__);
 
@@ -15,20 +14,20 @@ void vla_n (int n, int i)
      as *a1), but definitely not as *a1[I].  This is a bug in VLA
      formatting.  */
   T (a1[0]);        // { dg-warning "'a1\\\[0]' is used uninitialized" "pr98587" { xfail *-*-* } }
-                    // { dg-warning "'\\*a1\\\[0]' is used uninitialized" "spurious star" { target *-*-* } .-1 }
-  T (a1[1]);        // { dg-warning "a1\\\[1]' is used uninitialized" }
-  T (a1[i]);        // { dg-warning "a1\\\[i]' is used uninitialized" }
+                    // { dg-warning "'\\*a1\\\[0]' is used uninitialized" "spurious star" { target *-*-* xfail { ! alloca } } .-1 }
+  T (a1[1]);        // { dg-warning "a1\\\[1]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a1[i]);        // { dg-warning "a1\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
 }
 
 void vla_n_2 (int n, int i)
 {
   int a2[n][2];
 
-  T (a2[0][0]);   // { dg-warning "a2\\\[0]\\\[0]' is used uninitialized" }
-  T (a2[2][1]);   // { dg-warning "a2\\\[2]\\\[1]' is used uninitialized" }
-  T (a2[3][i]);   // { dg-warning "a2\\\[3]\\\[i]' is used uninitialized" }
-  T (a2[i][0]);   // { dg-warning "a2\\\[i]\\\[0]' is used uninitialized" }
-  T (a2[i][i]);   // { dg-warning "a2\\\[i]\\\[i]' is used uninitialized" }
+  T (a2[0][0]);   // { dg-warning "a2\\\[0]\\\[0]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[2][1]);   // { dg-warning "a2\\\[2]\\\[1]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[3][i]);   // { dg-warning "a2\\\[3]\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[i][0]);   // { dg-warning "a2\\\[i]\\\[0]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[i][i]);   // { dg-warning "a2\\\[i]\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
 }
 
 
@@ -36,11 +35,11 @@ void vla_3_n (int n, int i)
 {
   int a2[3][n];
 
-  T (a2[0][0]);     // { dg-warning "a2\\\[0]\\\[0]' is used uninitialized" }
-  T (a2[1][2]);     // { dg-warning "a2\\\[1]\\\[2]' is used uninitialized" }
-  T (a2[2][i]);     // { dg-warning "a2\\\[2]\\\[i]' is used uninitialized" }
-  T (a2[i][3]);     // { dg-warning "a2\\\[i]\\\[3]' is used uninitialized" }
-  T (a2[i][i]);     // { dg-warning "a2\\\[i]\\\[i]' is used uninitialized" }
+  T (a2[0][0]);     // { dg-warning "a2\\\[0]\\\[0]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[1][2]);     // { dg-warning "a2\\\[1]\\\[2]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[2][i]);     // { dg-warning "a2\\\[2]\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[i][3]);     // { dg-warning "a2\\\[i]\\\[3]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[i][i]);     // { dg-warning "a2\\\[i]\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
 }
 
 
@@ -48,11 +47,11 @@ void vla_n_n (int n, int i)
 {
   int a2[n][n];
 
-  T (a2[0][0]);     // { dg-warning "a2\\\[0]\\\[0]' is used uninitialized" }
-  T (a2[4][5]);     // { dg-warning "a2\\\[4]\\\[5]' is used uninitialized" }
-  T (a2[6][i]);     // { dg-warning "a2\\\[6]\\\[i]' is used uninitialized" }
-  T (a2[i][7]);     // { dg-warning "a2\\\[i]\\\[7]' is used uninitialized" }
-  T (a2[i][i]);     // { dg-warning "a2\\\[i]\\\[i]' is used uninitialized" }
+  T (a2[0][0]);     // { dg-warning "a2\\\[0]\\\[0]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[4][5]);     // { dg-warning "a2\\\[4]\\\[5]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[6][i]);     // { dg-warning "a2\\\[6]\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[i][7]);     // { dg-warning "a2\\\[i]\\\[7]' is used uninitialized" "" { xfail { ! alloca } } }
+  T (a2[i][i]);     // { dg-warning "a2\\\[i]\\\[i]' is used uninitialized" "" { xfail { ! alloca } } }
 }
 
 
index 6159c9512f40a06d75f965474a6a06860e2a5eb6..638b0295809670852c4b6dfdd5357d3cf80c2f0a 100644 (file)
@@ -1,8 +1,7 @@
 /* PR middle-end/98583 - missing -Wuninitialized reading from a second VLA
    in its own block
    { dg-do compile }
-   { dg-options "-O2 -Wall" }
-   { dg-require-effective-target alloca } */
+   { dg-options "-O2 -Wall" } */
 
 void f (int*);
 void g (int);
index e6ddcccfb4b5cb75b651f5b716e2b13e2103c948..72c6465903054adcb2ff96fdb25932b6f715520e 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-std=gnu99" } */
-/* { dg-require-effective-target alloca } */
 
 /* These are crash tests related to PR middle-end/6994; see also
    g++.dg/ext/vla1.C.  Note that at present A and C cannot be inlined.  */
index 8025bae8f6f34b7cacbcd184b582aed737f0b621..f924650af03ec1caa647cbf6c725664d92fcc4ee 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
-/* { dg-require-effective-target alloca } */
 
 extern void bar (int *);
 
index 8b7230584b9abac239b0aa1f698844381c6e1b84..5bd5fed262e38b3687411909aee7af5408d5ccdf 100644 (file)
@@ -2,7 +2,6 @@
 
 /* { dg-do run } */
 /* { dg-options "-std=gnu99" } */
-/* { dg-require-effective-target alloca } */
 
 extern void abort (void);
 
index 51dae42f7ecb598296b34e570c381ae5a313a64f..619c0422a4d36fc3158a30838b9c55ca04781029 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-std=gnu99" } */
-/* { dg-require-effective-target alloca } */
 
 /* This used to crash as we did not preserve the correct type
    for __SIZE_TYPE__. See PR22439. */
index c4a68fea9d9c7baed06b0a1309446b9bae9cd505..7ffbfb31b8e4b47a4585bf4c5800995ad5611c2f 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do run } */
 /* { dg-options "-std=c99 -pedantic-errors" } */
-/* { dg-require-effective-target alloca } */
 /* PR c/18740 */
 
 static int i;
index baaad36eb12df117ec82e076213d0daebec909af..97d66937e9a3a85d0d009a50ea37e782fdad1a72 100644 (file)
@@ -1,7 +1,6 @@
 /* PR29970*/
 /* { dg-do run } */
 /* { dg-options "-Wall -O0" } */
-/* { dg-require-effective-target alloca } */
 
 int foo(void)
 {
index 8616ef75d0968972ed56d3ff3e740bae4c7e118d..b0a14cffa9664ecff737e1efc6be0ea6979f3c2c 100644 (file)
@@ -1,7 +1,6 @@
 /* PR101838 */
 /* { dg-do run } */
 /* { dg-options "-std=gnu17 -Wpedantic -O0" } */
-/* { dg-require-effective-target alloca } */
 
 
 int bar0(
index 929768cd802734dcf0417c8368507103fe950395..612b5a802fc54c2a74b15e20c379007e06c3e927 100644 (file)
@@ -1,7 +1,6 @@
 /* PR29970, PR91038 */
 /* { dg-do run } */
 /* { dg-options "-O0 -Wunused-variable" } */
-/* { dg-require-effective-target alloca } */
 
 int foo3b(void)   // should not return 0
 {
index 68614f2d6b98ce5d397f9181a579da9cdd4dd6a8..d6a7f2b34b82a6220f41a9b132792e2773f7235b 100644 (file)
@@ -1,7 +1,6 @@
 /* PR29970 */
 /* { dg-do run } */
 /* { dg-options "-Wunused-variable" } */
-/* { dg-require-effective-target alloca } */
 
 
 
index 239d748926d8dbe59107c50603f83e18bcec1b49..08cc480d1e9a848ceb484a5ecc6c2316b9c35b30 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
 /* { dg-options "-Winline -O2 -fgnu89-inline" } */
-/* { dg-require-effective-target alloca } */
 
 extern void *alloca (__SIZE_TYPE__);
 
index e963ee66d36cac0e0143313139fe5fab7124fb3e..7fc189f6210d97fe87af489f11c94a7a98c9ac94 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE y
 #include "stack-check-alloca.h"
index eb85843565d3d3569f7fdfc664b80c5d6a79995f..7c42206d3158d624815a5cc13b2e619c4a432dda 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 127.5 * 64 * 1024
 #include "stack-check-alloca.h"
index cc8216d2312809e43c115a74ffbba3e57b55d538..69fdd16e35a296276acaf76bb0e0954ffba5a421 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 0
 #include "stack-check-alloca.h"
index f5e51fa4dc85a5327d57ef0067b9885980fb063d..fba3a7a25b726558d4167f3d71c9490d1c89225d 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 100
 #include "stack-check-alloca.h"
index c903f4d99983acf035abdd68e1de99a7372fdead..d53f30a4133b7b2af74823d87ce88ff0d2116550 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 2 * 1024
 #include "stack-check-alloca.h"
index 691ec23f89fc83c77b9adb812842b2dc0ef2b921..e0ff99ffbe1504d28aff314eeefdcac027321c5d 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 63 * 1024
 #include "stack-check-alloca.h"
index 9e4af23ae24e7c410200fce4b4f9e2ba9ddb89fa..c4bad9a2f46b405a7f01a71733f4534c66515742 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 63.5 * 1024
 #include "stack-check-alloca.h"
index f0ce2d8bd776d2c8cd235ff1dcd77c01e5d00634..cba9ff89c1a41da1f6b439239114b25351cab1d0 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 64 * 1024
 #include "stack-check-alloca.h"
index caaab04df52e539cf6a46fd8ac54fd3ae37fc6e4..5a35411b34483231bd05859b963a031d0011ad2b 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 65 * 1024
 #include "stack-check-alloca.h"
index 2c42e8581009acc3965519faf55681dd792e694e..5773d8052bc2d89842ad591b12807056a0247ac5 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 127 * 64 * 1024
 #include "stack-check-alloca.h"
index b3d2bed45374b8b5eafd99d01193cf99600976b6..13ee864d8b288ba6ee17772a1d6c1b5bc7a4796b 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-skip-if "Not available for ARCv1" { arc700 || arc6xx } } */
 /* { dg-options "-O2 -mirq-ctrl-saved=r0-ilink" } */
-/* { dg-require-effective-target alloca } */
 
 /* Check if ilink is recognized. Check how FP and BLINK are saved.
    BLINK is saved last on the stack because the IRQ autosave will do
index 318e06cd94c6cd14d72dfff57582b74acd271491..008ab4b8aaea0448ef5632736884bbed458eb922 100644 (file)
@@ -2,7 +2,6 @@
 /* { dg-do compile { target { { ! x32 } && { ! avx512f_runtime } } } } */
 /* { dg-options "-Ofast -mabi=ms -mavx512f" } */
 /* { dg-require-effective-target avx512f } */
-/* { dg-require-effective-target alloca } */
 
 /* Test with alloca (and DRAP).  */
 
index 6168461b2222dfaa38253ce77f6bb916a3dcd43d..04a1dcaece1803142a13644be84f3bfd832fb18d 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16 -maddr-reg-reg-cost=1" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
 
 #define SIZE y
index 8deaa587305e156fe49e7157c1b86c23b8f5ed3b..30ea9e4e7e65b66159eaf04f5a9149cdde10b549 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
 
 #define SIZE 0
index e326ba9a092733d6229b285861aaac4e0bd0c813..38259a42dc720d7080261a05da129c5ca8891bda 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
 
 #define SIZE 100
index b9f7572dedcc834c76e433c6008ad1b260494b38..4354a03ba4144815144d01ba5e254db57bbeaf7c 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
 
 #define SIZE 64 * 1024
index 0ff6e493fec123999832a688f6d2becc229a99bb..98eb632c52a24631fb4b744f8d7ba662b68ede5a 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
 
 #define SIZE 65 * 1024
index c5cf74fcb4fc6224d6c8b4f13d46b2469738da47..f3558a671fcbccab358ba4421cda8b22674282c4 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 /* { dg-skip-if "" { *-*-* } { "-fstack-check" } { "" } } */
 
 #define SIZE 127 * 64 * 1024
index 642840fb50cb0649a533f4b106ff0adb5f138124..074a3a88944a5c218989c27532799a9c86a922a7 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE y
 #include "stack-check-alloca.h"
index 11844aad74807420132142940dc26c876be76ab4..429979f682e96b02ea364c00345a916b2ff76467 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 127.5 * 3 * 1024
 #include "stack-check-alloca.h"
index 5c7a158adec347f580552a150eb7aa3c89769ef4..1a7b3c1008cfc86518dc2eed67c87cb86c68c477 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 0
 #include "stack-check-alloca.h"
index a5db2679aef42488e62acbe3256f5aacbfe88c11..0276de5000ecf673d43c6863df843b107f837740 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 100
 #include "stack-check-alloca.h"
index 1841412ff36f87e3dfd21d458a02eab35420804c..33bbaab8cd7ddc026df8eea473b8b99795522bba 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 1.5 * 1024
 #include "stack-check-alloca.h"
index f8f9d944564864e2a099743f45fc0b1266645709..61ac4a94b40da9a3a48b772ee89ca3bdf9c01014 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 2 * 1024
 #include "stack-check-alloca.h"
index d937e929d75a6b74bbe04cd8d0c7fe8bff645e14..d348819584c6c0de0277fa24fa3f75a10d64d24c 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 2.5 * 1024
 #include "stack-check-alloca.h"
index cbb32f3157ebf9a15496b0656b7a11c588ca4a39..f1006339207e7042ec85ba9be89227d5f06bd2c4 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 3 * 1024
 #include "stack-check-alloca.h"
index 3cc3450355bd8aa5742b025f29a0281343cb6f26..e3f3c473e6e640b961f0c91200f71cc8b9087c6b 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection --param stack-clash-protection-guard-size=16" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 65 * 1024
 #include "stack-check-alloca.h"
index 36466930e4eec562e44c6b16bd04dcab367c6b11..7ccbd2661f17abbc4c7383439579451f2021cc3b 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64gc -mabi=lp64d -fstack-clash-protection" } */
 /* { dg-require-effective-target supports_stack_clash_protection } */
-/* { dg-require-effective-target alloca } */
 
 #define SIZE 127 * 3 * 1024
 #include "stack-check-alloca.h"
index 699d7f7b8ff458843d5f5f01971b23ec62651c25..ce6835ee449aada21c6adfbcce95141f43d52ed3 100644 (file)
@@ -4,7 +4,6 @@
 /* { dg-do run { target *-*-solaris2.* *-*-linux* *-*-*bsd* } } */\r
 /* { dg-require-effective-target fpic } */\r
 /* { dg-options "-fPIC" } */\r
-/* { dg-require-effective-target alloca } */\r
 \r
 #include <stdio.h>\r
 #include <setjmp.h>\r
index abfcee6f56a41becc8fb6600a113fda0e8975aab..f055b9c6fc742a365b2d52c200a5c3b5a0df8931 100644 (file)
@@ -49,7 +49,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 /* { dg-do run } */
 /* { dg-additional-sources "do-test.S" } */
 /* { dg-additional-options "-Wall" } */
-/* { dg-require-effective-target alloca } */
 
 #include <stdio.h>
 #include <string.h>
index c0adef6c450eebfd62633e88120dadc93f1f5ab9..008b8538e46cff8b84615db16a25c45b2c3ad794 100644 (file)
@@ -452,6 +452,13 @@ proc gcc-dg-prune { system text } {
        }
     }
 
+    # If dynamic stack allocation is not supported, expectant tests are UNSUPPORTED.
+    if { ![check_effective_target_alloca] } {
+       if [regexp "(^|\n)\[^\n\]*: sorry, unimplemented: dynamic stack allocation not supported" $text] {
+           return "::unsupported::dynamic stack allocation not supported"
+       }
+    }
+
     return $text
 }
 
index 4970536bb592b3b47801204d99ebd9c03e912cfb..c6f3acfadb3d81d7db75163be25bc999f3418f59 100644 (file)
@@ -1018,7 +1018,10 @@ proc check_effective_target_alloca {} {
 
            set dg-do-what [find-dg-do-what]
            if { ![llength ${dg-do-what}] } {
-               error "unexpected call stack"
+               # This happens if 'gcc-dg-prune' etc. get called outside of
+               # 'dg-test'.  For these purposes, assume that dynamic stack
+               # allocation is supported.
+               return 1
            }
            if { [string equal [lindex ${dg-do-what} 0] run] } {
                # For 'dg-do run', it additionally depends on runtime support.
index 566572baa6da944500ffa40e9f817b02ee3210d7..416e851614ba9548dbf9c0ff57afd7b16791d0f8 100644 (file)
@@ -107,6 +107,13 @@ proc libstdc++-dg-prune { system text } {
        }
     }
 
+    # If dynamic stack allocation is not supported, expectant tests are UNSUPPORTED.
+    if { ![check_effective_target_alloca] } {
+       if [regexp "(^|\n)\[^\n\]*: sorry, unimplemented: dynamic stack allocation not supported" $text] {
+           return "::unsupported::dynamic stack allocation not supported"
+       }
+    }
+
     foreach p $additional_prunes {
        if { [string length $p] > 0 } {
            # Following regexp matches a complete line containing $p.