Commit 11bca309 by Alexandre Oliva Committed by Alexandre Oliva

* cppfiles.c (stack_include_file): Use MAX of sysp.

From-SVN: r40536
parent 69ca5554
2001-03-16 Alexandre Oliva <aoliva@redhat.com>
* cppfiles.c (stack_include_file): Use MAX of sysp.
2001-03-15 Steve Ellcey <sje@cup.hp.com>
* config.gcc (ia64*-*-hpux*): New case.
......
......@@ -277,8 +277,8 @@ stack_include_file (pfile, inc)
/* We'll try removing deps_sysp after the release of 3.0. */
deps_sysp = pfile->system_include_depth != 0;
sysp = ((pfile->buffer && pfile->buffer->sysp)
|| (inc->foundhere && inc->foundhere->sysp));
sysp = MAX ((pfile->buffer ? pfile->buffer->sysp : 0),
(inc->foundhere ? inc->foundhere->sysp : 0));
/* For -M, add the file to the dependencies on its first inclusion. */
if (CPP_OPTION (pfile, print_deps) > deps_sysp && !inc->include_count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment