]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: testsuite:Fixed a bug that added a target check error.
authorchenxiaolong <chenxiaolong@loongson.cn>
Wed, 10 Jan 2024 07:24:59 +0000 (15:24 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Wed, 10 Jan 2024 12:16:01 +0000 (20:16 +0800)
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.

gcc/testsuite/lib/target-supports.exp

index b27c30b8c51b278ba7c094870e788f1468f85b66..4e329d207d771aebd90a808a62eae1bd722b3d24 100644 (file)
@@ -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-*-*] }}]