+Fri Mar 2 12:18:13 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * cppinit.c (append_include_chain): Mark "after" include file name list
+ as a system directory.
+ * cpp.texi: Document new behavior.
+
Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
* ifcvt.c (noce_operand_ok): Handle properly unarry operations.
@item -idirafter @var{dir}
@findex -idirafter
@cindex second include path
-Add the directory @var{dir} to the second include path. The directories
-on the second include path are searched when a header file is not found
-in any of the directories in the main include path (the one that
-@samp{-I} adds to).
+Add the directory @var{dir} to the second include path, marking it as a
+system directory. The directories on the second include path are searched
+when a header file is not found in any of the directories in the main
+include path (the one that @samp{-I} adds to).
@item -iprefix @var{prefix}
@findex -iprefix
@item -iwithprefix @var{dir}
@findex -iwithprefix
-Add a directory to the second include path. The directory's name is
-made by concatenating @var{prefix} and @var{dir}, where @var{prefix} was
-specified previously with @samp{-iprefix}.
+Add a directory to the second include path, marking it as a system
+directory. The directory's name is made by concatenating @var{prefix}
+and @var{dir}, where @var{prefix} was specified previously with
+@samp{-iprefix}.
@item -isystem @var{dir}
@findex -isystem
new->len = len;
new->ino = st.st_ino;
new->dev = st.st_dev;
- if (path == SYSTEM)
+ /* Both systm and after include file lists should be treated as system
+ include files since these two lists are really just a concatenation
+ of one "system" list. */
+ if (path == SYSTEM || path == AFTER)
#ifdef NO_IMPLICIT_EXTERN_C
new->sysp = 1;
#else