public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/112702] New: C23, C++23: Extended characters not valid in an identifier with -pedantic
@ 2023-11-24 15:12 stammark at gcc dot gnu.org
  2023-11-24 15:41 ` [Bug c/112702] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stammark at gcc dot gnu.org @ 2023-11-24 15:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112702

            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,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-24 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-24 15:12 [Bug c/112702] New: C23, C++23: Extended characters not valid in an identifier with -pedantic stammark at gcc dot gnu.org
2023-11-24 15:41 ` [Bug c/112702] " pinskia at gcc dot gnu.org
2023-11-24 15:43 ` pinskia at gcc dot gnu.org
2023-11-24 19:14 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).