[Bug target/85593] [7/8/9 Regression] GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 30 14:56:00 GMT 2018


Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
           Keywords|                            |wrong-code
           Priority|P3                          |P2

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
So somehow the consensus was that IPA-RA needs to be told what to do about
naked functions.  IPA-RA is new in GCC 5.  I'm not sure whether there already
exists a hook for targets to use.

More information about the Gcc-bugs mailing list