[Bug middle-end/106818] code is genereated differently with or without 'extern'

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 2 22:37:35 GMT 2022


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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to baoshan from comment #6)
> > really of unknown alignment then sharing the lui might not work.
> Can you elaborate why shareing the lui might not work?

Linker relaxation not coming in and relaxing it to be use gp offsets instead.
It is one of the worst parts of the riscv toolchain ...


More information about the Gcc-bugs mailing list