* c-incpath.c (add_path): Fix sysp assignment.
authorNeil Booth <neil@daikokuya.co.uk>
Sun, 2 Mar 2003 22:09:29 +0000 (22:09 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 2 Mar 2003 22:09:29 +0000 (22:09 +0000)
From-SVN: r63692

gcc/ChangeLog
gcc/c-incpath.c

index 898cdcd86eb048dbf986d385d715a3e45f6817f4..60e8c3ece7a65d18b82029a3d0b79288389e167b 100644 (file)
@@ -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
index b1c8de5cb3b09d72f74d0e41b83c18e4bbbf977a..06c9346edede9d62a7227d24ac422cd1c5622f94 100644 (file)
@@ -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;