This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -MM -MG, <foo.h>, and 3.4.0
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Paul Jarc <prj at po dot cwru dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 29 Apr 2004 16:27:41 -0700
- Subject: Re: -MM -MG, <foo.h>, and 3.4.0
- References: <m38yggd586.fsf@multivac.cwru.edu>
Paul Jarc wrote:
$ cat foo.c
#include <foo.h>
#include "bar.h"
$ gcc-3.4.0/bin/gcc -E -MM -MG foo.c
> foo.o: foo.c foo.h bar.h
This looks like an unintentional side-effect of
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02780.html
which completely rewrote the cpp file handling to fix #import, #pragma
once and a number of other problems.
I think cpp_stack_include has to pass angle_brackets to cpp_find_file,
which then passes it on to open_file_failed, which then tests it like
gcc-3.3.x and earlier did.
I'd suggest filing a bug report so this doesn't get lost or forgotten.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com