https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86573
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |RESOLVED
Component|c++ |tree-optimization
Version|tree-ssa |7.0
Resolution|--- |INVALID
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Using f instead of main allows it be optimized so closing as invalid. NOTE GCC
has a heuristic around main function being done as ever called once so it does
less inlining into it.