ptx testsuite fixes for issues like indirect jumps and jump labels.
authorBernd Schmidt <bernds@codesourcery.com>
Mon, 10 Nov 2014 16:30:50 +0000 (16:30 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 10 Nov 2014 16:30:50 +0000 (16:30 +0000)
commit631da28efeba4841e8d40d8bf6f8fe259b33574e
tree9570e8a6d55107aa9d32ebc402259f935e82fe70
parentfb61af8ba8c31ec8a5c9b03ea26c9f82b09519a8
ptx testsuite fixes for issues like indirect jumps and jump labels.

* lib/target-supports.exp (check_effective_target_indirect_jumps):
New function.
(check_effective_target_nonlocal_goto): New function.
(check_effective_target_label_values): New function.
* gcc.c-torture/execute/20071220-2.c: Require label_values.
* gcc.c-torture/compile/labels-2.c: Likewise.
* gcc.c-torture/compile/20000518-1.c: Likewise.
* gcc.c-torture/compile/20021108-1.c: Likewise.
* gcc.c-torture/compile/981006-1.c: Likewise.
* gcc.c-torture/execute/20040302-1.c: Likewise.
* gcc.dg/torture/pr33848.c: Likewise.

* gcc.c-torture/compile/pr46107.c: Require indirect jumps and
label values.
* gcc.c-torture/compile/pr32919.c: Likewise.
* gcc.c-torture/compile/pr17913.c: Likewise.
* gcc.c-torture/compile/pr51495.c: Likewise.
* gcc.c-torture/compile/pr25224.c: Likewise.
* gcc.c-torture/compile/labels-3.c: Likewise.
* gcc.c-torture/compile/pr27863.c: Likewise.
* gcc.c-torture/compile/20050510-1.c: Likewise.
* gcc.c-torture/compile/pr28489.c: Likewise.
* gcc.c-torture/compile/pr29128.c: Likewise.
* gcc.c-torture/compile/pr21356: Likewise.
* gcc.c-torture/execute/20071210-1.c: Likewise.
* gcc.c-torture/execute/200701220-1.c: Likewise.
* gcc.c-torture/execute/pr51447.c: Likewise.
* gcc.c-torture/execute/comp-goto-1.c: Likewise.
* gcc.c-torture/execute/comp-goto-2.c: Likewise.
* gcc.dg/20021029-1.c: Likewise.
* gcc.dg/pr43379.c: Likewise.
* gcc.dg/pr45259.c: Likewise.
* gcc.dg/torture/pr53695.c: Likewise.
* gcc.dg/torture/pr57584.c: Likewise.

* gcc.c-torture/execute/980526-1.c: Skip if -O0 and neither label_values
or indirect_jumps are available.
* gcc.c-torture/compile/920415-1.c: Likewise.  Remove NO_LABEL_VALUES
test.
* gcc.c-torture/compile/920428-3.c: Likewise.
* gcc.c-torture/compile/950613-1.c: Likewise.

* gcc.c-torture/compile/pr30984.c: Require indirect jumps.
* gcc.c-torture/compile/991213-3.c: Likewise.
* gcc.c-torture/compile/920825-1.c: Likewise.
* gcc.c-torture/compile/20011029-1.c: Likewise.
* gcc.c-torture/compile/complex-6.c: Likewise.
* gcc.c-torture/compile/pr27127.c: Likewise.
* gcc.c-torture/compile/pr58164.c: Likewise.
* gcc.c-torture/compile/20041214-1.c: Likewise.
* gcc.c-torture/execute/built-in-setjmp.c: Likewise.
* gcc.c-torture/execute/pr56982.c: Likewise.
* gcc.c-torture/execute/pr60003.c: Likewise.
* gcc.c-torture/execute/pr26983.c: Likewise.
* gcc.dg/pr57287-2.c: Likewise.
* gcc.dg/pr59920-1.c: Likewise.
* gcc.dg/pr59920-2.c: Likewise.
* gcc.dg/pr59920-3.c: Likewise.
* gcc.dg/setjmp-3.c: Likewise.
* gcc.dg/setjmp-4.c: Likewise.
* gcc.dg/setjmp-5.c: Likewise.
* gcc.dg/torture/pr48542.c: Likewise.
* gcc.dg/torture/pr57147-2.c: Likewise.
* gcc.dg/torture/pr59993.c: Likewise.

* gcc.dg/torture/stackalign/non-local-goto-1.c: Require nonlocal_goto.
* gcc.dg/torture/stackalign/non-local-goto-2.c: Likewise.
* gcc.dg/torture/stackalign/non-local-goto-3.c: Likewise.
* gcc.dg/torture/stackalign/non-local-goto-4.c: Likewise.
* gcc.dg/torture/stackalign/non-local-goto-5.c: Likewise.
* gcc.dg/torture/stackalign/setjmp-1.c: Likewise.
* gcc.dg/torture/stackalign/setjmp-3.c: Likewise.
* gcc.dg/torture/stackalign/setjmp-4.c: Likewise.
* gcc.dg/non-local-goto-1.c: Likewise.
* gcc.dg/non-local-goto-2.c: Likewise.
* gcc.dg/pr49994-1.c: Likewise.
* gcc.dg/torture/pr57036-2.c: Likewise.

* gcc.c-torture/compile/20040614-1.c: Require label_values.  Remove
NO_LABEL_VALUES test.
* gcc.c-torture/compile/920831-1.c: Likewise.
* gcc.c-torture/compile/920502-1.c: Likewise.
* gcc.c-torture/compile/920501-7.c: Likewise.
* gcc.dg/pr52139.c: Likewise.

From-SVN: r217299
75 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20000518-1.c
gcc/testsuite/gcc.c-torture/compile/20011029-1.c
gcc/testsuite/gcc.c-torture/compile/20021108-1.c
gcc/testsuite/gcc.c-torture/compile/20040614-1.c
gcc/testsuite/gcc.c-torture/compile/20050510-1.c
gcc/testsuite/gcc.c-torture/compile/920415-1.c
gcc/testsuite/gcc.c-torture/compile/920428-3.c
gcc/testsuite/gcc.c-torture/compile/920501-7.c
gcc/testsuite/gcc.c-torture/compile/920502-1.c
gcc/testsuite/gcc.c-torture/compile/920826-1.c
gcc/testsuite/gcc.c-torture/compile/920831-1.c
gcc/testsuite/gcc.c-torture/compile/950613-1.c
gcc/testsuite/gcc.c-torture/compile/981006-1.c
gcc/testsuite/gcc.c-torture/compile/991213-3.c
gcc/testsuite/gcc.c-torture/compile/complex-6.c
gcc/testsuite/gcc.c-torture/compile/labels-2.c
gcc/testsuite/gcc.c-torture/compile/labels-3.c
gcc/testsuite/gcc.c-torture/compile/pr17913.c
gcc/testsuite/gcc.c-torture/compile/pr21356.c
gcc/testsuite/gcc.c-torture/compile/pr21728.c
gcc/testsuite/gcc.c-torture/compile/pr25224.c
gcc/testsuite/gcc.c-torture/compile/pr27863.c
gcc/testsuite/gcc.c-torture/compile/pr28489.c
gcc/testsuite/gcc.c-torture/compile/pr29128.c
gcc/testsuite/gcc.c-torture/compile/pr30984.c
gcc/testsuite/gcc.c-torture/compile/pr32919.c
gcc/testsuite/gcc.c-torture/compile/pr42559.c
gcc/testsuite/gcc.c-torture/compile/pr46107.c
gcc/testsuite/gcc.c-torture/compile/pr51495.c
gcc/testsuite/gcc.c-torture/compile/pr58164.c
gcc/testsuite/gcc.c-torture/execute/20040302-1.c
gcc/testsuite/gcc.c-torture/execute/20041214-1.c
gcc/testsuite/gcc.c-torture/execute/20071210-1.c
gcc/testsuite/gcc.c-torture/execute/20071220-1.c
gcc/testsuite/gcc.c-torture/execute/20071220-2.c
gcc/testsuite/gcc.c-torture/execute/980526-1.c
gcc/testsuite/gcc.c-torture/execute/built-in-setjmp.c
gcc/testsuite/gcc.c-torture/execute/pr51447.c
gcc/testsuite/gcc.c-torture/execute/pr56982.c
gcc/testsuite/gcc.c-torture/execute/pr60003.c
gcc/testsuite/gcc.dg/20021029-1.c
gcc/testsuite/gcc.dg/comp-goto-1.c
gcc/testsuite/gcc.dg/comp-goto-2.c
gcc/testsuite/gcc.dg/non-local-goto-1.c
gcc/testsuite/gcc.dg/non-local-goto-2.c
gcc/testsuite/gcc.dg/pr26983.c
gcc/testsuite/gcc.dg/pr43379.c
gcc/testsuite/gcc.dg/pr45259.c
gcc/testsuite/gcc.dg/pr49994-1.c
gcc/testsuite/gcc.dg/pr52139.c
gcc/testsuite/gcc.dg/pr57287-2.c
gcc/testsuite/gcc.dg/pr57287.c
gcc/testsuite/gcc.dg/pr59920-1.c
gcc/testsuite/gcc.dg/pr59920-2.c
gcc/testsuite/gcc.dg/pr59920-3.c
gcc/testsuite/gcc.dg/setjmp-3.c
gcc/testsuite/gcc.dg/setjmp-4.c
gcc/testsuite/gcc.dg/setjmp-5.c
gcc/testsuite/gcc.dg/torture/pr33848.c
gcc/testsuite/gcc.dg/torture/pr48542.c
gcc/testsuite/gcc.dg/torture/pr53695.c
gcc/testsuite/gcc.dg/torture/pr57036-2.c
gcc/testsuite/gcc.dg/torture/pr57147-2.c
gcc/testsuite/gcc.dg/torture/pr57584.c
gcc/testsuite/gcc.dg/torture/pr59993.c
gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-1.c
gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-2.c
gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-3.c
gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-4.c
gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-5.c
gcc/testsuite/gcc.dg/torture/stackalign/setjmp-1.c
gcc/testsuite/gcc.dg/torture/stackalign/setjmp-3.c
gcc/testsuite/gcc.dg/torture/stackalign/setjmp-4.c
gcc/testsuite/lib/target-supports.exp