[Bug target/121498] long branches requires ra register but not modeled; causes issues sometimes with shrink wrapping and/or leaf functions

lw297073896 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 13 01:41:43 GMT 2025


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

--- Comment #6 from liu mirko <lw297073896 at gmail dot com> ---
(In reply to Andrew Pinski from comment #4)
> Note shrink wrapping is not the only time this could cause an issue, it can
> cause an issue with leaf function where ra is not normally saved either.

Yes. Because ra is not saved, any place that needs to use the original value of
ra will cause issues.


More information about the Gcc-bugs mailing list