mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-25 21:25:06 +08:00
[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
This commit is contained in:
parent
e93ca5cade
commit
676d13847e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user