[Bug target/94145] Longcalls mis-optimize loading the function address

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 11 18:27:16 GMT 2020


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

--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 48021
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48021&action=edit
Example code

Compile with -mcpu=future -mpcrel -O3 to see the load of the address being
moved out of the loop.


More information about the Gcc-bugs mailing list