[Bug preprocessor/48740] Raw C++0x strings and trigraphs mix badly
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 23 23:34:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48740
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-23 23:33:42 UTC ---
Author: jakub
Date: Sat Apr 23 23:33:39 2011
New Revision: 172904
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172904
Log:
PR preprocessor/48740
* lex.c (lex_raw_string): When raw string ends with
??) followed by raw prefix and ", ensure it is preprocessed
with ??) rather than ??].
* c-c++-common/raw-string-11.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/c-c++-common/raw-string-11.c
Modified:
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/libcpp/ChangeLog
branches/gcc-4_6-branch/libcpp/lex.c
More information about the Gcc-bugs
mailing list