mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
In traditional CPP mode (-save-temps, -no-integrated-cpp, etc.), the compilation directory is conveyed to cc1 using a line such as: # <line> "/path/name//" This string literal can contain escape sequences, for instance, if the original source file was compiled in "/tmp/a\b", then this line will be: # <line> "/tmp/a\\b//" So reading the compilation directory must decode escape sequences. This last part is currently missing and this patch implements it. libcpp/ * init.cc (read_original_directory): Attempt to decode escape sequences with cpp_interpret_string_notranslate.
34 KiB
34 KiB