[Bug middle-end/112653] PTA should handle correctly escape information of values returned by a function

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 27 09:02:32 GMT 2023


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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #8)
> On ARM32 and other targets methods returns this pointer.  Togher with making
> return value escape this probably completely disables any chance for IPA
> tracking of C++ data types...

Note 'this' is "escaped" anyway since it points to incoming memory.  Improving
handling of 'return' really _only_ helps function-local allocated storage,
_nothing_ else.  Which is why it wasn't priority at all as it didn't look
to be enabling any (important) transforms.


More information about the Gcc-bugs mailing list