This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/15220] [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Nov 2005 19:49:09 -0000
- Subject: [Bug preprocessor/15220] [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
- References: <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from wilson at gcc dot gnu dot org 2005-11-07 19:49 -------
Subject: Bug 15220
Author: wilson
Date: Mon Nov 7 19:49:04 2005
New Revision: 106608
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106608
Log:
Fix problem with -MM -MG and missing system header files.
PR preprocessor/15220
* cppfiles.c (_cpp_find_file): New parameter angle_brackets. Fix all
callers. Pass to open_file_failed.
(open_file_failed): New parameter angle_brackets. Fix
all callers. use in print_dep assignment.
* cpphash.h (_cpp_find_file): Add new parm to declaration.
* cppinit.c (cpp_read_main_file): Pass another arg to _cpp_find_file.
Modified:
branches/gcc-3_4-branch/gcc/ChangeLog
branches/gcc-3_4-branch/gcc/cppfiles.c
branches/gcc-3_4-branch/gcc/cpphash.h
branches/gcc-3_4-branch/gcc/cppinit.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220