From 82f6e3eb6c8de76151f430564d7a98cb4e07d29b Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 2 Mar 2003 22:09:29 +0000 Subject: [PATCH] * c-incpath.c (add_path): Fix sysp assignment. From-SVN: r63692 --- gcc/ChangeLog | 4 ++++ gcc/c-incpath.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 898cdcd86eb..60e8c3ece7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-03-02 Neil Booth + + * c-incpath.c (add_path): Fix sysp assignment. + 2003-03-02 Kurt Garloff * params.def: Introduce parameter max-inline-insns-rtl for diff --git a/gcc/c-incpath.c b/gcc/c-incpath.c index b1c8de5cb3b..06c9346eded 100644 --- a/gcc/c-incpath.c +++ b/gcc/c-incpath.c @@ -309,7 +309,7 @@ add_path (path, chain, cxx_aware) p->next = NULL; p->name = path; if (chain == SYSTEM || chain == AFTER) - p->sysp = 1 + (cxx_aware != 0); + p->sysp = 1 + !cxx_aware; else p->sysp = 0;