Testsuite alloca fixes for ptx.
authorBernd Schmidt <bernds@codesourcery.com>
Mon, 10 Nov 2014 16:30:09 +0000 (16:30 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 10 Nov 2014 16:30:09 +0000 (16:30 +0000)
commite2acc079ff125a869159be45371dc0a29b230e92
treecb56aa5f84330cfa7f21cc303183f012b3cda690
parent738f25224b78c40ba48d6debd95946bf73f89e53
Testsuite alloca fixes for ptx.

* lib/target-supports.exp (check_effective_target_alloca): New function.
* gcc.c-torture/execute/20010209-1.c: Require alloca.
* 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/pr22061-4.c: Likewise.
* gcc.c-torture/execute/pr43220.c: Likewise.
* gcc.c-torture/execute/vla-dealloc-1.c: Likewise.
* gcc.dg/torture/stackalign/alloca-1.c: Likewise.
* gcc.dg/torture/stackalign/vararg-1.c: Likewise.
* gcc.dg/torture/stackalign/vararg-2.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/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/pr55851.c: Likewise.
* gcc.c-torture/compile/vla-const-1.c: Likewise.
* gcc.c-torture/compile/vla-const-2.c: Likewise.
* gcc.c-torture/compile/pr31507-1.c: Likewise.
* gcc.c-torture/compile/pr52714.c: Likewise.
* gcc.dg/20001012-2.c: Likewise.
* gcc.dg/auto-type-1.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/packed-vla.c: Likewise.
* gcc.c-torture/compile/parms.c: Likewise.
* gcc.c-torture/execute/920721-2.c: Skip -O0 unless alloca is available.
* 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/pr36321.c: Likewise.
* gcc.c-torture/compile/20001221-1.c: Likewise.
* 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.c: Likewise.
* gcc.c-torture/compile/pr41469.c: Likewise.
* gcc.dg/torture/pr48953.c: Likewise.
* gcc.dg/torture/pr8081.c: Likewise.
* gcc.dg/torture/stackalign/inline-1.c: Skip if nvptx-*-*.
* gcc.dg/torture/stackalign/inline-2.c: Likewise.
* gcc.dg/torture/stackalign/nested-1.c: Likewise.
* gcc.dg/torture/stackalign/nested-2.c: Likewise.
* gcc.dg/torture/stackalign/nested-3.c: Likewise.
* gcc.dg/torture/stackalign/nested-4.c: Likewise.
* gcc.dg/torture/stackalign/nested-1.c: Likewise.
* gcc.dg/torture/stackalign/global-1.c: Likewise.
* gcc.dg/torture/stackalign/pr16660-1.c: Likewise.
* gcc.dg/torture/stackalign/pr16660-2.c: Likewise.
* gcc.dg/torture/stackalign/pr16660-3.c: Likewise.
* gcc.dg/torture/stackalign/ret-struct-1.c: Likewise.
* gcc.dg/torture/stackalign/struct-1.c: Likewise.

From-SVN: r217296
68 files changed:
gcc/testsuite/ChangeLog
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/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/vla-dealloc-1.c
gcc/testsuite/gcc.dg/20001012-2.c
gcc/testsuite/gcc.dg/auto-type-1.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/packed-vla.c
gcc/testsuite/gcc.dg/pr31507-1.c
gcc/testsuite/gcc.dg/torture/pr48953.c
gcc/testsuite/gcc.dg/torture/pr8081.c
gcc/testsuite/gcc.dg/torture/stackalign/alloca-1.c
gcc/testsuite/gcc.dg/torture/stackalign/global-1.c
gcc/testsuite/gcc.dg/torture/stackalign/inline-1.c
gcc/testsuite/gcc.dg/torture/stackalign/inline-2.c
gcc/testsuite/gcc.dg/torture/stackalign/nested-1.c
gcc/testsuite/gcc.dg/torture/stackalign/nested-2.c
gcc/testsuite/gcc.dg/torture/stackalign/nested-3.c
gcc/testsuite/gcc.dg/torture/stackalign/nested-4.c
gcc/testsuite/gcc.dg/torture/stackalign/pr16660-1.c
gcc/testsuite/gcc.dg/torture/stackalign/pr16660-2.c
gcc/testsuite/gcc.dg/torture/stackalign/pr16660-3.c
gcc/testsuite/gcc.dg/torture/stackalign/ret-struct-1.c
gcc/testsuite/gcc.dg/torture/stackalign/struct-1.c
gcc/testsuite/gcc.dg/torture/stackalign/vararg-1.c
gcc/testsuite/gcc.dg/torture/stackalign/vararg-2.c
gcc/testsuite/lib/target-supports.exp