From: Neil Booth Date: Sun, 2 Mar 2003 22:09:29 +0000 (+0000) Subject: * c-incpath.c (add_path): Fix sysp assignment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82f6e3eb6c8de76151f430564d7a98cb4e07d29b;p=gcc.git * c-incpath.c (add_path): Fix sysp assignment. From-SVN: r63692 --- 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;