chenglulu <chengl...@loongson.cn> writes: > diff --git a/gcc/testsuite/lib/target-supports.exp > b/gcc/testsuite/lib/target-supports.exp > index 737e1a8913b..843b508b010 100644 > --- a/gcc/testsuite/lib/target-supports.exp > +++ b/gcc/testsuite/lib/target-supports.exp > @@ -286,6 +286,10 @@ proc check_configured_with { pattern } { > proc check_weak_available { } { > global target_cpu > > + if { [ string first "loongarch" $target_cpu ] >= 0 } { > + return 1 > + } > + > # All mips targets should support it > > if { [ string first "mips" $target_cpu ] >= 0 } {
Please drop this part, it shouldn't be necessary. LGTM otherwise, thanks. Richard