https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122096
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |16.0
Keywords| |code-size
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is expected I think. As GCC is (speculatively) devirtualizing some
function pointers some more and then inlining more afterwards.
I am not sure what more should be done here since -O3/-Ofast is
defined/documtned as it might increase the code size without any gain over -O2.