Hi Nathan,
On 29.07.20 14:52, Nathan Sidwell wrote:
On 7/28/20 3:28 AM, Tiziano Müller wrote:
Hi there,
this patch intends to fix the regression introduced in gcc 10 with
__has_include,
see also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95889
Thanks, do you have write access? I don
fixes #95889
---
libcpp/init.c| 3 +++
libcpp/traditional.c | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/libcpp/init.c b/libcpp/init.c
index 0aac5acd0a3..b0cf7119258 100644
--- a/libcpp/init.c
+++ b/libcpp/init.c
@@ -400,6 +400,9 @@ static const struct builtin_ma
Hi there,
this patch intends to fix the regression introduced in gcc 10 with
__has_include,
see also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95889
Best,
Tiziano
Tiziano Müller (2):
libcpp: fix __has_include handling with traditional-cpp
[testsuite] add tests for __has_include with
/ChangeLog
index 477804eec9b..18f81e1befa 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-27 Tiziano Müller
+
+ * c-c++-common/cpp/has-include-1-traditional.c: New test.
+
2020-07-27 Hans-Peter Nilsson
* gcc.dg/tree-ssa/reassoc-20.c