[Bug middle-end/68378] Return value optimization does not fire iff in C mode

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 17 10:56:00 GMT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-11-17
          Component|c                           |middle-end
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In GCC, there are two places where this optimization happens.  One in the C++
front-end and once in the middle-end.  Looks like the middle-end one is not
doing it; only the one in the C++ front-end.


More information about the Gcc-bugs mailing list