[PATCH] preprocessor stringizing raw strings

Nathan Sidwell nathan@acm.org
Wed Oct 11 12:05:00 GMT 2017


Christophe,
> Didn't you forget to add -save-temps in the testcase?
> I'm seeing it failing because:
> g++.dg/cpp/string-3.C  -std=c++11 : output file does not exist
> UNRESOLVED: g++.dg/cpp/string-3.C  -std=c++11  scan-file BEGIN
> "R\\"(\\n)\\""\n END

Surprisingly we emit a .i file, but I'd also flubbed the regexp with 
insufficient escaping.

Fixed thusly.

nathan

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: st.diff
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171011/28618731/attachment.bin>


More information about the Gcc-patches mailing list