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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In c++ (unlike C) return from a non void function is undefined even if the
return value is not used.

In c, only of the return value is used it would be undefined.

Reply via email to