target-supports-dg.exp (current_compiler_flags): New.
authorJanis Johnson <janis187@us.ibm.com>
Wed, 7 Jan 2009 18:31:27 +0000 (18:31 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 7 Jan 2009 18:31:27 +0000 (18:31 +0000)
commit30af0edbf4637051e029063027052b843dbe8aac
tree68da84c270d2e72e9b06d0c45ebab9e948251a37
parent301b6a4efe8b404c6e797ec71a74c1209cd446f1
target-supports-dg.exp (current_compiler_flags): New.

* lib/target-supports-dg.exp (current_compiler_flags): New.
(check-flags): Use it; do not access dg-test local variables.
(dg-skip-if): Do not access dg-test local variables.
(dg-xfail-run-if): Ditto.
(dg-shouldfail): Ditto.
* gcc.test-framework/test-framework.exp
(check_effective_target_def_nocache): New.
* gcc.test-framework/test-framework.awk: Handle scan tests.
* gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c: New test.
* gcc.test-framework/dg-error-nocache-exp-P.c: New test.
* gcc.test-framework/dg-nocache-scanasm-exp-XF.c: New test.
* gcc.test-framework/dg-warning-nocache-exp-P.c: New test.
* gcc.test-framework/dg-nocache-sif-exp-P.c: New test.
* gcc.test-framework/dg-nocache-sif-exp-U.c: New test.
* gcc.test-framework/dg-nocache-xif-exp-P.c: New test.
* gcc.test-framework/dg-do-run-sft-nocache-exp-P.c: New test.
* gcc.test-framework/dg-nocache-xif-exp-XP.c: New test.

From-SVN: r143165
13 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.test-framework/dg-do-run-sft-nocache-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-error-nocache-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-scanasm-exp-XF.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-sif-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-sif-exp-U.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-xif-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-xif-exp-XP.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/test-framework.awk
gcc/testsuite/gcc.test-framework/test-framework.exp
gcc/testsuite/lib/target-supports-dg.exp