[Bug preprocessor/82506] Stringizing raw string literals
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #3 from Nathan Sidwell --- Fixed r253605
[Bug preprocessor/82506] Stringizing raw string literals
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Tue Oct 10 18:56:31 2017 New Revision: 253605 URL: https://gcc.gnu.org/viewcvs?rev=253605=gcc=rev Log: [PATCH] preprocessor stringizing raw strings https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00611.html libcpp/ PR preprocessor/82506 * macro.c (cpp_quote_string): Escape raw LFs. gcc/testsuite/ PR preprocessor/82506 * g++.dg/cpp/string-3.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp/string-3.C Modified: trunk/gcc/testsuite/ChangeLog trunk/libcpp/ChangeLog trunk/libcpp/macro.c
[Bug preprocessor/82506] Stringizing raw string literals
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-10-10 Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org Ever confirmed|0 |1
[Bug preprocessor/82506] Stringizing raw string literals
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506 --- Comment #1 from Nathan Sidwell --- We fail to stringize raw string literals containing \n chars: ./xg++ -B./ q.cc -E gives: "R\"( )\"" (snipping line markers). That's a regular string literal with a naked LF char in it. This is like the recent fix for __FILE__ dying with filenames containing LF.