https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121112
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |ipa
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> I think not, the ifunc resolver should not have side-effects, it's not
> specified how often it is called.
>
> The documentation isn't very explicit about this though.
Unless I misunderstanding the original code, I dont see any side effects inside
the
resolver, it just returns a function.
I get the feeling the alias attribute internally is mishandled with respect to
ifunc attribute and we inline the resolver for the alias rather than not doing
any inlining.