This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/15220] [3.3/3.4/4.0 regression] "gcc -E -MM -MG" reports missing system headers in source directory
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2004 23:18:57 -0000
- Subject: [Bug preprocessor/15220] [3.3/3.4/4.0 regression] "gcc -E -MM -MG" reports missing system headers in source directory
- References: <20040430055232.15220.prj-bugzilla-gcc@multivac.cwru.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neroden at gcc dot gnu dot org 2004-11-27 23:18 -------
Ow. The dependencies are emitted in open_file_failed in libcpp/files.c; but
that routine *doesn't know* whether the file was called for in a <> or a ""
directive.
Fixing this requires some restructuring of libcpp code so that the
dependencies are emitted in a place which does know (perhaps the same place,
but that requires a lot of extra information passing).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220