Handling of main() function for freestanding

Arsen Arsenović arsen@aarsen.me
Fri Oct 14 10:04:51 GMT 2022


On Thursday, 13 October 2022 23:16:02 CEST Jason Merrill wrote:
> I liked in the previous version that you checked the return type of
> main when !flag_hosted, here and in c_missing_noreturn_ok_p.  Let's
> bring that back.
Ah, right; I forgot about that.  What do you think of this?  

Thanks,
-- 
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4-0001-c-family-Implicitly-return-zero-from-main-even-on.patch
Type: text/x-patch
Size: 7529 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20221014/bda4632c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 358 bytes
Desc: This is a digitally signed message part.
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20221014/bda4632c/attachment.sig>


More information about the Gcc-patches mailing list