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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |ipa
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>This seems like poor optimization in C++. 
It is not, it is just more inlining than the C case. So the C++ case is
actually better really.

If I mark the nested functions in the C case, I get closer to the C++ code.
I have not look into much more than that.

Reply via email to