[Bug ipa/83411] function multiversioning should clone the entire sub-callgraph

ygribov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 24 07:24:00 GMT 2019


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

Yury Gribov <ygribov at gcc dot gnu.org> changed:

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

--- Comment #5 from Yury Gribov <ygribov at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #4)
> So finding
> a point like your 'loop' and using flatten attribute can guarantee the
> call-chain is fully optimized. Would be interesting to come up with more
> examples from real applications.

As this is not immediately obvious and/or googleable, perhaps we could add a
note to docs for pragma target and target/target_clones attributes?


More information about the Gcc-bugs mailing list