aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-03-02 22:09:29 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-03-02 22:09:29 +0000
commit82f6e3eb6c8de76151f430564d7a98cb4e07d29b (patch)
tree13d164bdb3fddbd06f7d92954655a866aa8ca1c1 /gcc
parente863ea99968176c2012def416f6296ece1a4d92d (diff)
downloadgcc-82f6e3eb6c8de76151f430564d7a98cb4e07d29b.zip
gcc-82f6e3eb6c8de76151f430564d7a98cb4e07d29b.tar.gz
gcc-82f6e3eb6c8de76151f430564d7a98cb4e07d29b.tar.bz2
* c-incpath.c (add_path): Fix sysp assignment.
From-SVN: r63692
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-incpath.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 898cdcd..60e8c3e 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 b1c8de5..06c9346 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;