https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111403
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |chenglulu at loongson dot cn, | |chenxiaolong at loongson dot cn Target| |loongarch*-*-* --- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- FWIW the test case is reduced from g++.dg/vect/simd-2.cc. And interestingly if we remove the definition S::operator= the issue no longer happens.