[Bug preprocessor/91412] Unexpectedly correct raw string literal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91412 Nathan Sidwell changed: What|Removed |Added Last reconfirmed||2020-09-24 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC||nathan at gcc dot gnu.org --- Comment #2 from Nathan Sidwell --- libcpp/lex.c (lex_raw_string) after_backslash: if (note->type == ' ') /* GNU backslash whitespace newline extension. FIXME could be any sequence of non-vertical space. When we can properly restore any such sequence, we should mark this note as handled so _cpp_process_line_notes doesn't warn. */ accum.append (pfile, UC" ", 1);
[Bug preprocessor/91412] Unexpectedly correct raw string literal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91412 Tom Honermann changed: What|Removed |Added CC||tom at honermann dot net --- Comment #1 from Tom Honermann --- My understanding is that the usual rationale for removal of trailing whitespace is to consider it part of a newline sequence; similar to considering as a single newline. Using that rationale, it seems appropriate that the spaces be retained as part of translation phase 2 reversion; just as it would presumably be desirable to preserve a sequence through such reversion.