[Bug tree-optimization/71990] Function multiversioning prohibits inlining

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 25 11:49:00 GMT 2016


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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to sgunderson from comment #2)
> Would pushing the mv automatically upwards into callers really help? There's
> still no way that I can see to inline the function; I mean, pushing upwards
> is what I've been trying to do here manually with the target clones.

Well, you'd effectively generate two target clones for bar() and call
the respective foo overload directly so it can be inlined.


More information about the Gcc-bugs mailing list