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't see your name in MAINTAINERS.

[for avoidance of doubt, this is sufficiently restricted I'm not concerned with copyright assignment, there is only one way to write this change]

nathan

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



--
Nathan Sidwell

Reply via email to