[Bug middle-end/108162] Missed optimization opportunity. Complex function that starts with if (param == 0) return 0;
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 17 23:08:59 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108162
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Gcc knows main is only called once and has heuristics not to inline as much
into it.
More information about the Gcc-bugs
mailing list