https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112970

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #1)
> With -mexplicit-relocs=auto the generated code is sub-optimal as well:

I mean "always", not "auto".

>       pcalau12i       $r12,%pc_hi20(.LANCHOR0)
>       addi.d  $r12,$r12,%pc_lo12(.LANCHOR0)
>       ld.wu   $r5,$r12,4
>       addi.d  $r4,$r12,4

Reply via email to