* [Bug preprocessor/20348] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
@ 2005-03-06 13:09 ` pepster at users dot sourceforge dot net
2005-03-06 15:34 ` [Bug preprocessor/20348] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: pepster at users dot sourceforge dot net @ 2005-03-06 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pepster at users dot sourceforge dot net 2005-03-06 13:09 -------
Created an attachment (id=8344)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8344&action=view)
setup for recreating bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
2005-03-06 13:09 ` [Bug preprocessor/20348] " pepster at users dot sourceforge dot net
@ 2005-03-06 15:34 ` pinskia at gcc dot gnu dot org
2005-04-15 13:22 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-06 15:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-06 15:34 -------
Confirmed. There is some caching going wrong here.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2005-03-06 15:34:10
date| |
Summary|File not included when file |[4.0/4.1 Regression] File
|with same name is included |not included when file with
|before |same name is included before
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
2005-03-06 13:09 ` [Bug preprocessor/20348] " pepster at users dot sourceforge dot net
2005-03-06 15:34 ` [Bug preprocessor/20348] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-04-15 13:22 ` pinskia at gcc dot gnu dot org
2005-04-21 5:00 ` mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-15 13:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-15 13:22 -------
*** Bug 21039 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (2 preceding siblings ...)
2005-04-15 13:22 ` pinskia at gcc dot gnu dot org
@ 2005-04-21 5:00 ` mmitchel at gcc dot gnu dot org
2005-07-08 1:38 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-21 5:00 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (3 preceding siblings ...)
2005-04-21 5:00 ` mmitchel at gcc dot gnu dot org
@ 2005-07-08 1:38 ` mmitchel at gcc dot gnu dot org
2005-07-09 21:58 ` pepster at users dot sourceforge dot net
` (6 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (4 preceding siblings ...)
2005-07-08 1:38 ` mmitchel at gcc dot gnu dot org
@ 2005-07-09 21:58 ` pepster at users dot sourceforge dot net
2005-08-26 16:16 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: pepster at users dot sourceforge dot net @ 2005-07-09 21:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pepster at users dot sourceforge dot net 2005-07-09 21:54 -------
Thats just great. A critical bug reported for 4.0.0, target set to 4.0.2 still
unfixed in 4.1.0.
And I can't upgrade and try out the new vectors stuff ....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (5 preceding siblings ...)
2005-07-09 21:58 ` pepster at users dot sourceforge dot net
@ 2005-08-26 16:16 ` jakub at gcc dot gnu dot org
2005-08-27 5:44 ` Neil Booth
2005-08-26 16:18 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 1 reply; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-08-26 16:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 15:57 -------
This got broken by the libcpp/files.c part of
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00272.html
My understanding of the change was that this was just a performance improvement.
The question is if that change is fixable to handle this and keep the
improvements where they can be used, or if it should be reverted.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bje at gcc dot gnu dot org,
| |zackw at panix dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-08-26 16:16 ` jakub at gcc dot gnu dot org
@ 2005-08-27 5:44 ` Neil Booth
0 siblings, 0 replies; 14+ messages in thread
From: Neil Booth @ 2005-08-27 5:44 UTC (permalink / raw)
To: jakub at gcc dot gnu dot org; +Cc: gcc-bugs
jakub at gcc dot gnu dot org wrote:-
>
> ------- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 15:57 -------
> This got broken by the libcpp/files.c part of
> http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00272.html
> My understanding of the change was that this was just a performance improvement.
> The question is if that change is fixable to handle this and keep the
> improvements where they can be used, or if it should be reverted.
I would back it out; I suspect the perceived performance improvement
came from missing some cases like these. IMO the code was already
quite efficient.
Neil.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (6 preceding siblings ...)
2005-08-26 16:16 ` jakub at gcc dot gnu dot org
@ 2005-08-26 16:18 ` jakub at gcc dot gnu dot org
2005-08-27 6:18 ` neil at daikokuya dot co dot uk
` (3 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-08-26 16:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 16:16 -------
*** Bug 20356 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (7 preceding siblings ...)
2005-08-26 16:18 ` jakub at gcc dot gnu dot org
@ 2005-08-27 6:18 ` neil at daikokuya dot co dot uk
2005-08-30 6:36 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: neil at daikokuya dot co dot uk @ 2005-08-27 6:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From neil at daikokuya dot co dot uk 2005-08-27 05:44 -------
Subject: Re: [4.0/4.1 Regression] File not included when file with same name is included before
jakub at gcc dot gnu dot org wrote:-
>
> ------- Additional Comments From jakub at gcc dot gnu dot org 2005-08-26 15:57 -------
> This got broken by the libcpp/files.c part of
> http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00272.html
> My understanding of the change was that this was just a performance improvement.
> The question is if that change is fixable to handle this and keep the
> improvements where they can be used, or if it should be reverted.
I would back it out; I suspect the perceived performance improvement
came from missing some cases like these. IMO the code was already
quite efficient.
Neil.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (8 preceding siblings ...)
2005-08-27 6:18 ` neil at daikokuya dot co dot uk
@ 2005-08-30 6:36 ` cvs-commit at gcc dot gnu dot org
2005-08-30 6:36 ` cvs-commit at gcc dot gnu dot org
2005-08-30 10:56 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-30 6:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-30 06:28 -------
Subject: Bug 20348
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jakub@gcc.gnu.org 2005-08-30 06:28:22
Modified files:
libcpp : ChangeLog
gcc/testsuite : ChangeLog
libcpp : files.c
Added files:
gcc/testsuite/gcc.dg/cpp: pr20356.h pr20356.c pr20348.c
pr20348.h
gcc/testsuite/gcc.dg/cpp/inc: pr20348-aux.h pr20356.h
pr20356-aux.h pr20348.h
Log message:
PR preprocessor/20348
PR preprocessor/20356
* files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and
2004-06-05 changes.
* gcc.dg/cpp/pr20348.c: New test.
* gcc.dg/cpp/pr20348.h: New file.
* gcc.dg/cpp/inc/pr20348.h: New file.
* gcc.dg/cpp/inc/pr20348-aux.h: New file.
* gcc.dg/cpp/pr20356.c: New test.
* gcc.dg/cpp/pr20356.h: New file.
* gcc.dg/cpp/inc/pr20356.h: New file.
* gcc.dg/cpp/inc/pr20356-aux.h: New file.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.75&r2=1.76
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5980&r2=1.5981
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/files.c.diff?cvsroot=gcc&r1=1.12&r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20356.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20356.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20348.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20348.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20356.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20348.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (9 preceding siblings ...)
2005-08-30 6:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-30 6:36 ` cvs-commit at gcc dot gnu dot org
2005-08-30 10:56 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-30 6:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-30 06:35 -------
Subject: Bug 20348
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: jakub@gcc.gnu.org 2005-08-30 06:35:45
Modified files:
libcpp : ChangeLog
gcc/testsuite : ChangeLog
libcpp : files.c
Added files:
gcc/testsuite/gcc.dg/cpp: pr20356.h pr20356.c pr20348.c
pr20348.h
gcc/testsuite/gcc.dg/cpp/inc: pr20348-aux.h pr20356.h
pr20356-aux.h pr20348.h
Log message:
PR preprocessor/20348
PR preprocessor/20356
* files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and
2004-06-05 changes.
* gcc.dg/cpp/pr20348.c: New test.
* gcc.dg/cpp/pr20348.h: New file.
* gcc.dg/cpp/inc/pr20348.h: New file.
* gcc.dg/cpp/inc/pr20348-aux.h: New file.
* gcc.dg/cpp/pr20356.c: New test.
* gcc.dg/cpp/pr20356.h: New file.
* gcc.dg/cpp/inc/pr20356.h: New file.
* gcc.dg/cpp/inc/pr20356-aux.h: New file.
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.9&r2=1.56.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.361&r2=1.5084.2.362
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&r2=1.9.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20356.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20356.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20348.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/pr20348.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20356.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/inc/pr20348.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before
2005-03-06 13:08 [Bug preprocessor/20348] New: File not included when file with same name is included before pepster at users dot sourceforge dot net
` (10 preceding siblings ...)
2005-08-30 6:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-30 10:56 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 10:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-30 10:44 -------
Fixed in 4.0.2 by reverting the patch which caused this.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348
^ permalink raw reply [flat|nested] 14+ messages in thread