[Bug preprocessor/96323] [11 Regression] ICE in lex_raw_string, at libcpp/lex.c:1764 since r11-498-ged63c387aa0bc184
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 28 13:41:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96323
--- Comment #4 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:ae49af94850b26e50268031e24f1559d5a51edec
commit r11-2384-gae49af94850b26e50268031e24f1559d5a51edec
Author: Jakub Jelinek <jakub@redhat.com>
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 <jakub@redhat.com>
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.
More information about the Gcc-bugs
mailing list