public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/15220] [3.4/4.0/4.1 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
@ 2005-10-21 17:54 ` cvs-commit at gcc dot gnu dot org
2005-10-21 17:56 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-21 17:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from cvs-commit at gcc dot gnu dot org 2005-10-21 17:54 -------
Subject: Bug 15220
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: wilson@gcc.gnu.org 2005-10-21 17:54:20
Modified files:
libcpp : ChangeLog files.c init.c internal.h
Log message:
Fix bug with -MM -MG.
PR preprocessor/15220
* files.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.
* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
* internal.h (_cpp_find_file): Add new parm to declaration.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.79&r2=1.80
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/init.c.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/internal.h.diff?cvsroot=gcc&r1=1.16&r2=1.17
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] [3.4/4.0/4.1 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
2005-10-21 17:54 ` [Bug preprocessor/15220] [3.4/4.0/4.1 regression] "gcc -E -MM -MG" reports missing system headers in source directory cvs-commit at gcc dot gnu dot org
@ 2005-10-21 17:56 ` cvs-commit at gcc dot gnu dot org
2005-10-21 18:04 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-21 17:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from cvs-commit at gcc dot gnu dot org 2005-10-21 17:56 -------
Subject: Bug 15220
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: wilson@gcc.gnu.org 2005-10-21 17:56:51
Modified files:
libcpp : ChangeLog files.c internal.h init.c
Log message:
Fix bug with -MM -MG.
PR preprocessor/15220
* files.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.
* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
* internal.h (_cpp_find_file): Add new parm to declaration.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.56.2.11&r2=1.56.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.9.6.1&r2=1.9.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/internal.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.13&r2=1.13.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.7&r2=1.7.6.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] [3.4/4.0/4.1 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
2005-10-21 17:54 ` [Bug preprocessor/15220] [3.4/4.0/4.1 regression] "gcc -E -MM -MG" reports missing system headers in source directory cvs-commit at gcc dot gnu dot org
2005-10-21 17:56 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-21 18:04 ` cvs-commit at gcc dot gnu dot org
2005-10-21 18:55 ` [Bug preprocessor/15220] [3.4 " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-21 18:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from cvs-commit at gcc dot gnu dot org 2005-10-21 18:04 -------
Subject: Bug 15220
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: wilson@gcc.gnu.org 2005-10-21 18:04:22
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.misc-tests: mg-2.exp mg-2.c
Log message:
Fix -MM -MG bug.
PR preprocessor/15220
* gcc.misc-tests/mg-2.c, gcc.misc-tests/mg-2.exp: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6226&r2=1.6227
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/mg-2.exp.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/mg-2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2005-10-21 18:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-21 18:55 ` pinskia at gcc dot gnu dot org
2005-11-07 19:49 ` wilson at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-21 18:55 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.0.3 4.1.0
Summary|[3.4/4.0/4.1 regression] |[3.4 regression] "gcc -E -MM
|"gcc -E -MM -MG" reports |-MG" reports missing system
|missing system headers in |headers in source directory
|source directory |
Target Milestone|4.0.3 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2005-10-21 18:55 ` [Bug preprocessor/15220] [3.4 " pinskia at gcc dot gnu dot org
@ 2005-11-07 19:49 ` wilson at gcc dot gnu dot org
2005-11-07 19:51 ` wilson at gcc dot gnu dot org
2005-11-07 19:52 ` wilson at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-11-07 19:49 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2005-11-07 19:49 ` wilson at gcc dot gnu dot org
@ 2005-11-07 19:51 ` wilson at gcc dot gnu dot org
2005-11-07 19:52 ` wilson at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-11-07 19:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from wilson at gcc dot gnu dot org 2005-11-07 19:51 -------
Mine.
--
wilson at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |wilson at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2004-04-30 12:53:54 |2005-11-07 19:51:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2005-11-07 19:51 ` wilson at gcc dot gnu dot org
@ 2005-11-07 19:52 ` wilson at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-11-07 19:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from wilson at gcc dot gnu dot org 2005-11-07 19:52 -------
Fixed on gcc-3.4.x branch, gcc-4.0.x branch, and mainline.
--
wilson at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work|4.0.3 4.1.0 |4.0.3 4.1.0 3.4.5
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15220
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug preprocessor/15220] New: [3.4 regression] "gcc -E -MM -MG" reports missing system headers in source directory
@ 2004-04-30 9:24 prj-bugzilla-gcc at multivac dot cwru dot edu
2005-07-22 21:13 ` [Bug preprocessor/15220] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org
2005-09-27 16:16 ` mmitchel at gcc dot gnu dot org
0 siblings, 2 replies; 9+ messages in thread
From: prj-bugzilla-gcc at multivac dot cwru dot edu @ 2004-04-30 9:24 UTC (permalink / raw)
To: gcc-bugs
$ 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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-11-07 19:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-15220-8304@http.gcc.gnu.org/bugzilla/>
2005-10-21 17:54 ` [Bug preprocessor/15220] [3.4/4.0/4.1 regression] "gcc -E -MM -MG" reports missing system headers in source directory cvs-commit at gcc dot gnu dot org
2005-10-21 17:56 ` cvs-commit at gcc dot gnu dot org
2005-10-21 18:04 ` cvs-commit at gcc dot gnu dot org
2005-10-21 18:55 ` [Bug preprocessor/15220] [3.4 " pinskia at gcc dot gnu dot org
2005-11-07 19:49 ` wilson at gcc dot gnu dot org
2005-11-07 19:51 ` wilson at gcc dot gnu dot org
2005-11-07 19:52 ` wilson at gcc dot gnu dot org
2004-04-30 9:24 [Bug preprocessor/15220] New: " prj-bugzilla-gcc at multivac dot cwru dot edu
2005-07-22 21:13 ` [Bug preprocessor/15220] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org
2005-09-27 16:16 ` mmitchel at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).