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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #3)
> > But adds a return with a value. And then the inliner inlines foo into foo2 
> > but
> > we still have the return with a value around ...
> I guess ICF can special case unused return value, but why this is not
> taken care of by ipa-sra?

Probably because none of the functions is static.

Reply via email to