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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>but also does not emit a "ret" instruction.

Because it is undefined in C++ to return from a fuction without a value.

*** This bug has been marked as a duplicate of bug 86761 ***

Reply via email to