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 traditional-cpp

 gcc/testsuite/ChangeLog                       |  4 ++
 .../cpp/has-include-1-traditional.c           | 38 +++++++++++++++++++
 libcpp/init.c                                 |  3 ++
 libcpp/traditional.c                          |  4 +-
 4 files changed, 48 insertions(+), 1 deletion(-)
 create mode 100644 gcc/testsuite/c-c++-common/cpp/has-include-1-traditional.c

-- 
2.26.1

Reply via email to