[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu since r13-911
xry111 at mengyan1223 dot wang
gcc-bugzilla@gcc.gnu.org
Mon Jun 27 08:27:38 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096
--- Comment #1 from Xi Ruoyao <xry111 at mengyan1223 dot wang> ---
Stage 1 GCC generates some very strange code for stage 2 GCC, jumping to
"0x2000":
.L747:
beqz $r12,.L750
lu12i.w $r13,8192>>12 # 0x2000
ld.d $r5,$r26,8
add.d $r3,$r3,$r13
ld.d $r1,$r3,168
ld.d $r22,$r3,160
ld.d $r23,$r3,152
ld.d $r24,$r3,144
ld.d $r26,$r3,128
ld.d $r27,$r3,120
ld.d $r28,$r3,112
ld.d $r29,$r3,104
ld.d $r30,$r3,96
ld.d $r31,$r3,88
or $r4,$r25,$r0
ld.d $r25,$r3,136
addi.d $r3,$r3,176
jr $r13
More information about the Gcc-bugs
mailing list