Files
gcc/libcpp
Torbjörn SVENSSON 711f56ad90 libcpp/remap: Only override if string matched
For systems with HAVE_DOS_BASED_FILE_SYSTEM set, only override the
pointer if the backslash pattern matches.

Output without this patch:
.../gcc/testsuite/gcc.dg/cpp/pr71681-2.c:5:10: fatal error: a/t2.h: No such file or directory

With patch applied, no output and the test case succeeds.

libcpp/ChangeLog

	* files.cc: Ensure pattern matches before use.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
2022-11-21 13:37:05 +01:00
..
2022-10-11 00:17:00 +00:00
2022-11-21 00:16:46 +00:00
2022-10-14 23:07:50 +00:00
2022-11-21 09:03:35 +01:00
2022-01-17 22:12:04 +01:00
2022-01-17 22:12:04 +01:00
2022-10-14 23:07:50 +00:00
2022-01-17 22:12:04 +01:00
2022-11-04 18:18:42 +01:00
2022-01-17 22:12:04 +01:00
2022-01-17 22:12:04 +01:00
2022-01-17 22:12:04 +01:00
2022-01-03 10:42:10 +01:00
2022-11-04 18:18:42 +01:00
2022-01-03 10:42:10 +01:00
2022-11-04 18:18:42 +01:00