Bug 110341 - [C++26] P1854R4 - Making non-encodable string literals ill-formed
Summary: [C++26] P1854R4 - Making non-encodable string literals ill-formed
Status: ASSIGNED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 14.0
: P3 normal
Target Milestone: ---
Assignee: Jakub Jelinek
URL:
Keywords:
Depends on:
Blocks: c++26-core
  Show dependency treegraph
 
Reported: 2023-06-21 16:08 UTC by Marek Polacek
Modified: 2023-08-25 15:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2023-06-21 00:00:00


Attachments
gcc14-pr110341.patch (2.37 KB, patch)
2023-08-25 15:49 UTC, Jakub Jelinek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Polacek 2023-06-21 16:08:14 UTC
See <https://wg21.link/P1854R4>.
Comment 1 Andrew Pinski 2023-06-21 22:37:25 UTC
I don't think there is anything to do for this paper:
`GCC exposes the same behavior(the one proposed by this paper) in all language modes.`
Comment 2 Marek Polacek 2023-06-21 22:48:53 UTC
It's possible/likely; I haven't actually read the paper yet.  We want to add any possible testcases.  I should be able to address this by the end of next week if nobody beats me to it.
Comment 3 Jakub Jelinek 2023-08-25 15:49:45 UTC
Created attachment 55795 [details]
gcc14-pr110341.patch

Untested implementation.