[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764 since r11-498-ged63c387aa0bc184
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed.
[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764 since r11-498-ged63c387aa0bc184
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ae49af94850b26e50268031e24f1559d5a51edec commit r11-2384-gae49af94850b26e50268031e24f1559d5a51edec Author: Jakub Jelinek Date: Tue Jul 28 15:40:15 2020 +0200 libcpp: Fix up raw string literal parsing error-recovery [PR96323] For (invalid) newline inside of the raw string literal delimiter, doing continue means we skip the needed processing of newlines. Instead of duplicating that, this patch just doesn't continue for those. 2020-07-28 Jakub Jelinek PR preprocessor/96323 * lex.c (lex_raw_string): For c == '\n' don't continue after reporting an prefix delimiter error. * c-c++-common/cpp/pr96323.c: New test.
[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764 since r11-498-ged63c387aa0bc184
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Created attachment 48929 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48929=edit gcc11-pr96323.patch Untested fix. I think the easiest is to avoid the continue for newline and do the usual new-line processing in there.
[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764 since r11-498-ged63c387aa0bc184
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 Priority|P3 |P1
[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764 since r11-498-ged63c387aa0bc184
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323 Martin Liška changed: What|Removed |Added Known to fail||11.0 Last reconfirmed||2020-07-27 Status|UNCONFIRMED |NEW CC||marxin at gcc dot gnu.org, ||nathan at gcc dot gnu.org Summary|[11 Regression] ICE in |[11 Regression] ICE in |lex_raw_string, at |lex_raw_string, at |libcpp/lex.c:1764 |libcpp/lex.c:1764 since ||r11-498-ged63c387aa0bc184 Ever confirmed|0 |1 Known to work||10.1.0 --- Comment #2 from Martin Liška --- Started with r11-498-ged63c387aa0bc184.
[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323 --- Comment #1 from Arseny Solokha --- (In reply to Arseny Solokha from comment #0) > | ^% gcc-11.0.0 -c rozdnj5v.c -wrapper valgrind,-q > rozdnj5v.c:1:24: error: invalid new-line in raw string delimiter <…> Oh, an excessive copy-paste.