public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106647] New: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals
@ 2022-08-16 16:50 mpolacek at gcc dot gnu.org
2022-08-25 16:59 ` [Bug c++/106647] " jakub at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-08-16 16:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106647
Bug ID: 106647
Summary: [C++23] P2362 - Remove non-encodable wide character
literals and multicharacter wide character literals
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
See <https://wg21.link/p2362>.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/106647] [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals
2022-08-16 16:50 [Bug c++/106647] New: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals mpolacek at gcc dot gnu.org
@ 2022-08-25 16:59 ` jakub at gcc dot gnu.org
2022-08-26 14:07 ` cvs-commit at gcc dot gnu.org
2022-08-26 14:08 ` jakub at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-08-25 16:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106647
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-08-25
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 53509
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53509&action=edit
gcc13-pr106647.patch
Untested implementation.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/106647] [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals
2022-08-16 16:50 [Bug c++/106647] New: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals mpolacek at gcc dot gnu.org
2022-08-25 16:59 ` [Bug c++/106647] " jakub at gcc dot gnu.org
@ 2022-08-26 14:07 ` cvs-commit at gcc dot gnu.org
2022-08-26 14:08 ` jakub at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-08-26 14:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106647
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:dad2d3e003f1a9885cb1fa0f67baf50f62d57b06
commit r13-2221-gdad2d3e003f1a9885cb1fa0f67baf50f62d57b06
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Aug 26 16:06:20 2022 +0200
libcpp: Implement P2362R3 - Remove non-encodable wide character literals
and multicharacter [PR106647]
My understanding of the paper is that we just want to promote the CPP_WCHAR
"character constant too long for its type" warning to error as it is
already
error for u8, u and U literals.
2022-08-26 Jakub Jelinek <jakub@redhat.com>
PR c++/106647
* charset.cc (wide_str_to_charconst): Implement P2362R3 - Remove
non-encodable wide character literals and multicharacter. For
C++23 use CPP_DL_ERROR instead of CPP_DL_WARNING for
"character constant too long for its type" diagnostics on CPP_WCHAR
literals.
* g++.dg/cpp23/wchar-multi1.C: New test.
* g++.dg/cpp23/wchar-multi2.C: New test.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/106647] [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals
2022-08-16 16:50 [Bug c++/106647] New: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals mpolacek at gcc dot gnu.org
2022-08-25 16:59 ` [Bug c++/106647] " jakub at gcc dot gnu.org
2022-08-26 14:07 ` cvs-commit at gcc dot gnu.org
@ 2022-08-26 14:08 ` jakub at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-08-26 14:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106647
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Now implemented for GCC 13.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-26 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 16:50 [Bug c++/106647] New: [C++23] P2362 - Remove non-encodable wide character literals and multicharacter wide character literals mpolacek at gcc dot gnu.org
2022-08-25 16:59 ` [Bug c++/106647] " jakub at gcc dot gnu.org
2022-08-26 14:07 ` cvs-commit at gcc dot gnu.org
2022-08-26 14:08 ` jakub 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).