https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330
--- Comment #4 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to chenglulu from comment #3) > (In reply to Xi Ruoyao from comment #1) > > (In reply to Xi Ruoyao from comment #0) > > > > > I guess the easiest solution is raising the minimal GAS requirement of > > > bootstrapping GCC 14 on LoongArch to 2.42. > > > > Another solution might be default to -mno-relax if GAS is 2.41, but I'm not > > sure if it's enough. > > This issue really doesn't happen after adding -mno-relax, but is it really > necessary to judge the version of binutils because of this? I'm not sure if -mno-relax is the proper fix. For now I've reduced the test case to: a: .rept 100000 nop .endr beq $r12, $r13, a but this still does not work with GAS 2.41 even if -mno-relax.
