[Bug preprocessor/57824] Raw string literals not handled correctly in macro arguments or deferred pragmas
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 10 17:43:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57824
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jul 10 16:52:19 2013
New Revision: 200879
URL: http://gcc.gnu.org/viewcvs?rev=200879&root=gcc&view=rev
Log:
PR preprocessor/57824
* lex.c (lex_raw_string): Allow reading new-lines if
in_deferred_pragma or if parsing_args and there is still
data in the current buffer.
* c-c++-common/raw-string-17.c: New test.
* c-c++-common/gomp/pr57824.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr57824.c
trunk/gcc/testsuite/c-c++-common/raw-string-17.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/lex.c
Fixed for 4.9+.
More information about the Gcc-bugs
mailing list