From 676d13847e8d4265e2bc8d207a0ab1b2130a2f99 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Thu, 4 Jun 2015 06:02:12 -0400 Subject: [PATCH] [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. From-SVN: r224119 --- gcc/testsuite/ChangeLog | 5 +++++ .../aarch64/advsimd-intrinsics/advsimd-intrinsics.exp | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 + + * gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: + Move set of dg-do-what-default after early return. + 2015-06-04 Marek Polacek 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 -- 2.30.2