This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: IMPLICIT_EXTERN_C failure due to cpplib patch
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 2 Mar 2003 22:02:38 +0000
- Subject: Re: IMPLICIT_EXTERN_C failure due to cpplib patch
- References: <20030301142620.GA26876@daikokuya.co.uk> <200303022141.QAA25430@makai.watson.ibm.com>
David Edelsohn wrote:-
> The cpplib patch has broken IMPLICIT_EXTERN_C support which has
> broken bootstrap on AIX. With the cpplib patch, some functions now are
> being mangled, causing unresolved references.
David, can you try this please?
Neil.
Index: c-incpath.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-incpath.c,v
retrieving revision 1.2
diff -u -p -r1.2 c-incpath.c
--- c-incpath.c 2 Mar 2003 17:44:17 -0000 1.2
+++ c-incpath.c 2 Mar 2003 22:01:37 -0000
@@ -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;