mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-24 05:43:13 +08:00
18cace4674
The PR shows that we ICE after lexing an invalid unterminated raw string, because lex_raw_string() pops the main buffer unexpectedly. Resolve by handling this case the same way as for other directives. libcpp/ChangeLog: PR preprocessor/117118 * lex.cc (lex_raw_string): Treat an unterminated raw string the same way for a deferred pragma as is done for other directives. gcc/testsuite/ChangeLog: PR preprocessor/117118 * c-c++-common/raw-string-directive-3.c: New test. * c-c++-common/raw-string-directive-4.c: New test. |
||
---|---|---|
.. | ||
include | ||
po | ||
aclocal.m4 | ||
ChangeLog | ||
ChangeLog.jit | ||
charset.cc | ||
combining-chars.inc | ||
config.in | ||
configure | ||
configure.ac | ||
directives.cc | ||
errors.cc | ||
expr.cc | ||
files.cc | ||
generated_cpp_wcwidth.h | ||
identifiers.cc | ||
init.cc | ||
internal.h | ||
lex.cc | ||
line-map.cc | ||
location-example.txt | ||
macro.cc | ||
Makefile.in | ||
makeucnid.cc | ||
makeuname2c.cc | ||
mkdeps.cc | ||
pch.cc | ||
printable-chars.inc | ||
symtab.cc | ||
system.h | ||
traditional.cc | ||
ucnid.h | ||
ucnid.tab | ||
uname2c.h |