https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40093
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Optimization by functios |Optimization by functions
|reordering. |reordering them together
Component|middle-end |ipa
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note we do place cold functions into the cold text section already.
So maybe that is enough.
With LTO we do place functions together.
There was a linker patch or pass which was reordering based on a file I don't
know what happened to that though. Maybe it only it was only done for lld. Or
maybe it was decided it didn't get enough so it was dropped.