diff options
author | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-04 10:02:12 +0000 |
---|---|---|
committer | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-04 10:02:12 +0000 |
commit | e81ad0db65a77d17ae5d73f3fc7559c5909192fd (patch) | |
tree | 532a38d8edd3cc05dac38a1caa59530170a77469 | |
parent | 0925e39e497b5f218c4979b49afbdabcd3828e88 (diff) | |
download | gcc-e81ad0db65a77d17ae5d73f3fc7559c5909192fd.tar.gz |
[patch, testsuite, ARM] don't clobber dg-do-what-default in advsimd-intrinsics.exp
gcc/testsuite/
* gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp:
Move set of dg-do-what-default after early return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224119 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3092acf1fa6..c867eeca385 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-06-04 Sandra Loosemore <sandra@codesourcery.com> + + * gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: + Move set of dg-do-what-default after early return. + 2015-06-04 Marek Polacek <polacek@redhat.com> PR c/66341 diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp index 4679a73cd9e..f57da396aff 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp @@ -33,7 +33,6 @@ dg-init # The default action for a test is 'run'. Save current default. global dg-do-what-default set save-dg-do-what-default ${dg-do-what-default} -set dg-do-what-default run # For ARM, make sure that we have a target compatible with NEON, and do # not attempt to run execution tests if the hardware doesn't support it. @@ -43,7 +42,11 @@ if {[istarget arm*-*-*]} then { } if {![is-effective-target arm_neon_hw]} then { set dg-do-what-default compile + } else { + set dg-do-what-default run } +} else { + set dg-do-what-default run } set-torture-options $C_TORTURE_OPTIONS {{}} $LTO_TORTURE_OPTIONS |