Update Fix vect_long_mult for aarch64 [PR109705]

Message ID 20240125004045.237500-1-user@gnu-cfl-3
State Unresolved
Headers
Series Update Fix vect_long_mult for aarch64 [PR109705] |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

H.J. Lu Jan. 25, 2024, 12:40 a.m. UTC
  Adding the missing '[' in

commit e6fbc3cc786a74a098352868348e187877bfbc8b
Author: Andrew Pinski <quic_apinski@quicinc.com>
Date:   Wed Jan 24 00:00:34 2024 -0800

    Fix vect_long_mult for aarch64 [PR109705]

	PR testsuite/109705
	* lib/target-supports.exp (check_effective_target_vect_long_mult):
	Add the missing '['.
---
 gcc/testsuite/lib/target-supports.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 82520119026..49e748caf17 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -9092,7 +9092,7 @@  proc check_effective_target_vect_long_mult { } {
 	 || ([istarget sparc*-*-*] && [check_effective_target_ilp32])
 	 || ([istarget aarch64*-*-*]
 	     && ([check_effective_target_ilp32]
-		 || check_effective_target_aarch64_sve]))
+		 || [check_effective_target_aarch64_sve]))
 	 || ([istarget mips*-*-*]
 	      && [et-is-effective-target mips_msa])
 	 || ([istarget riscv*-*-*]