Files
gcc/libcpp
Pierre Marie de Rodat be496fd2aa libcpp: decode original directory strings for traditional CPP
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.
2025-10-14 00:24:19 +02:00
..
2025-07-31 00:21:08 +00:00
2025-10-09 00:21:21 +00:00
2025-08-10 08:01:02 -07:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-08 18:02:39 +02:00
2025-10-08 18:02:39 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-08 18:02:39 +02:00
2025-01-02 11:59:57 +01:00
2025-10-08 18:02:39 +02:00