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

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

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C++ says it is undefined even if you dont use the return value.  This is
different from C.

GCC assumes that the path leading to the return without a value will not happen
so it uses __builtin_unreachable call there.

Reply via email to