diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 898cdcd86eb048dbf986d385d715a3e45f6817f4..60e8c3ece7a65d18b82029a3d0b79288389e167b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-03-02 Neil Booth <neil@daikokuya.co.uk> + + * c-incpath.c (add_path): Fix sysp assignment. + 2003-03-02 Kurt Garloff <garloff@suse.de> * params.def: Introduce parameter max-inline-insns-rtl for diff --git a/gcc/c-incpath.c b/gcc/c-incpath.c index b1c8de5cb3b09d72f74d0e41b83c18e4bbbf977a..06c9346edede9d62a7227d24ac422cd1c5622f94 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;