[Bug preprocessor/15220] New: [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
prj-bugzilla-gcc at multivac dot cwru dot edu
gcc-bugzilla@gcc.gnu.org
Fri Apr 30 09:24:00 GMT 2004
$ gcc -v
Reading specs from
/fs/pkgs/mount/package/misc/spf/gcc-3.4.0/bin/../lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/package/misc/spf/gcc-3.4.0
--disable-nls --enable-libgcj --with-as=/package/misc/spf/gcc-3.4.0/spf/as
--with-ld=/package/misc/spf/gcc-3.4.0/spf/ld --enable-threads
Thread model: posix
gcc version 3.4.0
$ echo $'#include <foo.h>\n#include "bar.h"' | gcc -xc /dev/stdin -E -MM -MG
stdin.o: /dev/stdin foo.h bar.h
Previous versions of gcc (I checked 2.95.3, 3.2.3, and 3.3.3) do not include
foo.h in the output, which is appropriate, since foo.h would not be searched for
in the source directory when actually compiling the file.
Jim Wilson has some ideas:
http://gcc.gnu.org/ml/gcc/2004-04/msg01413.html
--
Summary: [3.4 regression] "gcc -E -MM -MG" reports missing system
headers in source directory
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: prj-bugzilla-gcc at multivac dot cwru dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
More information about the Gcc-bugs
mailing list