From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 064F53858D3C; Fri, 24 Nov 2023 15:12:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 064F53858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700838773; bh=x9knM4O2KXUJB/FTaVbbPilttjb6GEA8Onk7FadT1rI=; h=From:To:Subject:Date:From; b=Av49aaOfDxQiuFV7rgDZkSsau1JwBbZvlwmwzcSCsN2OHjx4DWXeNSTTBscoeOGGC acP6ZFmp5GQ+p1yYlLD/OCNSIuO3qpOfkTTG6K8FakkErfAR5/iBj5Gyd/4gUq8Zar nn/nrCI5lhLNbqgpzHpbfDJyH/tVnTXvabNVdW7w= From: "stammark at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/112702] New: C23, C++23: Extended characters not valid in an identifier with -pedantic Date: Fri, 24 Nov 2023 15:12:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stammark at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D112702 Bug ID: 112702 Summary: C23, C++23: Extended characters not valid in an identifier with -pedantic Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: stammark at gcc dot gnu.org Target Milestone: --- Hi all, This is likely a symptom of the WIP-ness of C23 and C++23 support in the frontends, but see here: https://godbolt.org/z/78KeK1fnG The use of extended characters in identifiers with -pedantic stopped working * For C, in GCC13 * For C++ in GCC12 Removing -pedantic makes the compilation succeed. Is this expected behaviour with -pedantic or a bug? Thanks,=