From 143e0eb06064e62f53d77759f2fbf35164e43366 Mon Sep 17 00:00:00 2001
From: neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sun, 2 Mar 2003 22:09:29 +0000
Subject: [PATCH] 	* c-incpath.c (add_path): Fix sysp assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63692 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog   | 4 ++++
 gcc/c-incpath.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 898cdcd86eb0..60e8c3ece7a6 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 b1c8de5cb3b0..06c9346edede 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;
 
-- 
GitLab