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: "neil at daikokuya dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2004 00:50:07 -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 neil at daikokuya dot co dot uk 2004-11-28 00:50 -------
Subject: Re: [3.3/3.4/4.0 regression] "gcc -E -MM -MG" reports missing system headers in source directory
neroden at gcc dot gnu dot org wrote:-
>
> ------- 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).
Note that current behaviour was discussed and agreed in a thread in
2003, on a previous bug report about prior behaviour.
Neil.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220