From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by sourceware.org (Postfix) with ESMTPS id D33A13857822; Thu, 13 Oct 2022 17:26:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D33A13857822 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4MpGf85cJmz9sZW; Thu, 13 Oct 2022 19:26:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1665682000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7cwGKj63ED3WKfXtAC63iZhSIQVJQthu+aK+LaUaEyQ=; b=iJNMvJGNuSR0z4Ht6FspPpG5bXk+FS0mY16lWNlNcux8ztt4AxPejJpguh8DUAynP/dnD8 cnpaUEM1sOcLP/JI/Y4cwwohMBxAeAhYQPt6A0O1UA3KRwjE8g+JjQoeBstxF/rownF8Fp Hr//90Cs8RbDU5QTXe9UfGYG3Tz5D6sC3B0bmwH86RY3SY9Ra+kwy3xnhhH01p+hsFNHZJ LYM2Ocrp5O/UOLtA8tH4bBe6YVPuUgoXN97COGCBXDAo8I92iaD2qRx20G75MRZSKDmEFP /Y9azGth+kevU+vhIXt5zBCa+/H/8Wo+1gNH65LlK/rc7V7Wv8wDTDErmY3Kwg== From: Arsen =?utf-8?B?QXJzZW5vdmnEhw==?= To: gcc-patches@gcc.gnu.org Cc: Jonathan Wakely , gcc-patches@gcc.gnu.org, "gcc@gcc.gnu.org" , "Joseph S. Myers" , Jason Merrill , Jakub Jelinek Subject: Re: Handling of main() function for freestanding Date: Thu, 13 Oct 2022 19:26:36 +0200 Message-ID: <2929294.x4cH5LXjbl@bstg> In-Reply-To: References: <16718001.dR7co8bJll@bstg> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2770219.1SmAKl2jE2"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4MpGf85cJmz9sZW X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --nextPart2770219.1SmAKl2jE2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Arsen =?utf-8?B?QXJzZW5vdmnEhw==?= To: gcc-patches@gcc.gnu.org Subject: Re: Handling of main() function for freestanding Date: Thu, 13 Oct 2022 19:26:07 +0200 Message-ID: <2929294.x4cH5LXjbl@bstg> In-Reply-To: MIME-Version: 1.0 On Thursday, 13 October 2022 19:10:10 CEST Jakub Jelinek wrote: > Don't we have such a test already elsewhere? If not, then certain > "warn for main" part should be removed or replaced... Whoops, missed that comment. There is actually an equivalent test that=20 I overlooked (noreturn-1.c), so maybe dropping is the right thing to do,=20 indeed. =2D-=20 Arsen Arsenovi=C4=87 --nextPart2770219.1SmAKl2jE2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCY0hKL18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MwAKCRBSwpQwHqLE k7nFAP9Ylbzu0z/CVYhVix2EUFOgOw648eY6rSUx8ZhRiKBjfwEA09p+wqhNddfc hDLrTlWlrbANdh0Jb2/LwfEd35gmTQI= =UM2a -----END PGP SIGNATURE----- --nextPart2770219.1SmAKl2jE2--