]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Fix cut-&-pasto in aarch64-sve2-acle-asm.exp
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 9 May 2023 17:57:22 +0000 (18:57 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 9 May 2023 17:57:22 +0000 (18:57 +0100)
aarch64-sve2-acle-asm.exp tried to prevent --with-cpu/tune
from affecting the results, but it used sve_flags rather than
sve2_flags.  This was a silent failure when running the full
testsuite, but was a fatal error when running the harness
individually.

gcc/testsuite/
* gcc.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp: Use
sve2_flags instead of sve_flags.

gcc/testsuite/gcc.target/aarch64/sve2/acle/aarch64-sve2-acle-asm.exp

index 2e8d78904c5dc5318ec04337fe730907f31ce7e0..0ad6463d832e04cce80f9f4575351ac3e06eb12d 100644 (file)
@@ -39,7 +39,7 @@ if { [check_effective_target_aarch64_sve2] } {
 
 # Turn off any codegen tweaks by default that may affect expected assembly.
 # Tests relying on those should turn them on explicitly.
-set sve_flags "$sve_flags -mtune=generic -moverride=tune=none"
+set sve2_flags "$sve2_flags -mtune=generic -moverride=tune=none"
 
 lappend extra_flags "-fno-ipa-icf"