From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83A1B3858C50; Fri, 2 Dec 2022 21:00:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83A1B3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670014834; bh=gF8sd0HHh/fpMRGItm22sL0J8IRM22WidhKk6Vs9FZ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BgpGDG8LXaYsHQWStYHDJ+ZnEEAjsSQW2YWn/z6bwtVwu2QP0h7wwiBLWlV9mnyPr rQ4WkFiSwtJ6IZTYlNf23Nz6MzLSBh5qH7924KKauxpGwalRGtyrO258OttXkzhfmN JrXStQx4BpwBkuWQee7ryWr2BgNaq2OKLFpbKZeo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107954] Support -std=c23/gnu23 as aliases of -std=c2x/gnu2x Date: Fri, 02 Dec 2022 21:00:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic, internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on keywords everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107954 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-12-02 Keywords| |diagnostic, | |internal-improvement Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Confirmed. The following options (and maybe some in the diagnostic messages too) need = to be changed/aliased: Wc11-c2x-compat std=3Dc2x Internally the macros: D_C2X STD_C2X CLK_STDC2X CLK_GNUC2X the language name: c-opts.cc: lang_hooks.name =3D "GNU C2X"; And a few other places. It is early in stage 4 of GCC 13 release cycle but I will leave it up to th= e C maintainers to see if they want the change for GCC 13 or wait till stage 1 = of GCC 14. Confirmed otherwise.=