https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79161
Ulya <skvadrik at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Ulya <skvadrik at gmail dot com> ---
> I think this is fixed for GCC 10 by r10-1052-gc29c92c789d9 (and the related
> patch after that which disable it for the C front-end but enables it for
> C++11+)
Indeed! GCC generates `return 0` as well now. Thank you Andrew.