https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113418
--- Comment #9 from chenxiaolong <chenxiaolong at loongson dot cn> ---
On LoongArch,tree-ssa/forwprop-43.c also encounters test failure issues.
Compared to aarch64 and x86 architectures,LA does not enable vectorization by
default during testing. Adding the "-mlsx" option can solve the test failure
problem. The code is as follows:
--- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-forwprop1" } */
+/* { dg-options "-mlsx -O2 -fdump-tree-forwprop1" { target { loongarch64-*-* }
} } */
/* { dg-additional-options "-fgimple" } */