[gcc r14-7096] LoongArch: testsuite:Fixed a bug that added a target check error.

LuluCheng chenglulu@gcc.gnu.org
Wed Jan 10 12:17:51 GMT 2024


https://gcc.gnu.org/g:41084f08e59f92da66f3eb40b0bbf628dd51c9d3

commit r14-7096-g41084f08e59f92da66f3eb40b0bbf628dd51c9d3
Author: chenxiaolong <chenxiaolong@loongson.cn>
Date:   Wed Jan 10 15:24:59 2024 +0800

    LoongArch: testsuite:Fixed a bug that added a target check error.
    
    After the code is committed in r14-6948, GCC regression testing on some
    architectures will produce the following error:
    
    "error executing dg-final: unknown effective target keyword `loongarch*-*-*'"
    
    gcc/testsuite/ChangeLog:
    
            * lib/target-supports.exp: Removed an issue with "target keyword"
            checking errors on LoongArch architecture.

Diff:
---
 gcc/testsuite/lib/target-supports.exp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index b27c30b8c51..4e329d207d7 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -8001,7 +8001,6 @@ proc check_effective_target_vect_widen_mult_qi_to_hi { } {
 		  || ([istarget aarch64*-*-*]
 		      && ![check_effective_target_aarch64_sve])
 		  || [is-effective-target arm_neon]
-		  || [is-effective-target loongarch*-*-*]
 		  || ([istarget s390*-*-*]
 		      && [check_effective_target_s390_vx])) 
 	      || [istarget amdgcn-*-*] }}]
@@ -8026,7 +8025,6 @@ proc check_effective_target_vect_widen_mult_hi_to_si { } {
 		     && ![check_effective_target_aarch64_sve])
 		 || [istarget i?86-*-*] || [istarget x86_64-*-*]
 		 || [is-effective-target arm_neon]
-		 || [is-effective-target loongarch*-*-*]
 		 || ([istarget s390*-*-*]
 		     && [check_effective_target_s390_vx]))
 	     || [istarget amdgcn-*-*] }}]


More information about the Gcc-cvs mailing list