[Bug preprocessor/91412] Unexpectedly correct raw string literal

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 24 16:34:01 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91412

Nathan Sidwell <nathan at gcc dot gnu.org> 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 <nathan at gcc dot gnu.org> ---
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);


More information about the Gcc-bugs mailing list