[Bug preprocessor/57620] Phantom terminator confuses raw string literal parsing.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 21 04:55:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57620
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Jul 21 02:28:03 2013
New Revision: 201091
URL: http://gcc.gnu.org/viewcvs?rev=201091&root=gcc&view=rev
Log:
PR preprocessor/57620
* lex.c (lex_raw_string): Undo phase1 and phase2 transformations
between R" and final " rather than only in between R"del( and )del".
* c-c++-common/raw-string-2.c (s12, u12, U12, L12): Remove.
(main): Don't test {s,u,U,L}12.
* c-c++-common/raw-string-13.c: New test.
* c-c++-common/raw-string-14.c: New test.
* c-c++-common/raw-string-15.c: New test.
* c-c++-common/raw-string-16.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/raw-string-13.c
trunk/gcc/testsuite/c-c++-common/raw-string-14.c
trunk/gcc/testsuite/c-c++-common/raw-string-15.c
trunk/gcc/testsuite/c-c++-common/raw-string-16.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/raw-string-2.c
trunk/libcpp/ChangeLog
trunk/libcpp/lex.c
More information about the Gcc-bugs
mailing list