public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
@ 2005-10-29 1:32 ` pinskia at gcc dot gnu dot org
2005-10-31 5:53 ` mmitchel at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-29 1:32 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
2005-10-29 1:32 ` [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack pinskia at gcc dot gnu dot org
@ 2005-10-31 5:53 ` mmitchel at gcc dot gnu dot org
2005-11-01 0:25 ` jsm28 at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31 5:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mmitchel at gcc dot gnu dot org 2005-10-31 05:53 -------
We should either fix this, or, at least, figure out why we can't; leaving as
P2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
2005-10-29 1:32 ` [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack pinskia at gcc dot gnu dot org
2005-10-31 5:53 ` mmitchel at gcc dot gnu dot org
@ 2005-11-01 0:25 ` jsm28 at gcc dot gnu dot org
2005-11-30 17:47 ` [Bug c++/24009] [4.0/4.1/4.2 " gdr at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-11-01 0:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jsm28 at gcc dot gnu dot org 2005-11-01 00:25 -------
diagnostic.c gets #include stack information from input_file_stack. cpplib
gets it from source_locations. With --enable-mapped-location, this regression
could be fixed by diagnostic.c getting it from source_locations as well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2005-11-01 0:25 ` jsm28 at gcc dot gnu dot org
@ 2005-11-30 17:47 ` gdr at gcc dot gnu dot org
2005-12-04 4:22 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-11-30 17:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from gdr at gcc dot gnu dot org 2005-11-30 17:47 -------
(In reply to comment #7)
> diagnostic.c gets #include stack information from input_file_stack. cpplib
> gets it from source_locations. With --enable-mapped-location, this regression
> could be fixed by diagnostic.c getting it from source_locations as well.
What are the issues that get in the way of having --enable-mapped-location
always?
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2005-11-30 17:47 ` [Bug c++/24009] [4.0/4.1/4.2 " gdr at gcc dot gnu dot org
@ 2005-12-04 4:22 ` pinskia at gcc dot gnu dot org
2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-04 4:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2005-12-04 04:22 -------
(In reply to comment #8)
> What are the issues that get in the way of having --enable-mapped-location
> always?
Getting Ada fixed and getting some regressions fixed with
--enable-mapped-location.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2005-12-04 4:22 ` pinskia at gcc dot gnu dot org
@ 2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:35 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24 0:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from mmitchel at gcc dot gnu dot org 2006-02-24 00:26 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.3 |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25 2:35 ` mmitchel at gcc dot gnu dot org
2006-08-22 21:25 ` jason at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from mmitchel at gcc dot gnu dot org 2006-05-25 02:33 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2006-05-25 2:35 ` mmitchel at gcc dot gnu dot org
@ 2006-08-22 21:25 ` jason at gcc dot gnu dot org
2006-08-25 23:24 ` jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-08-22 21:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jason at gcc dot gnu dot org 2006-08-22 21:25 -------
*** Bug 24037 has been marked as a duplicate of this bug. ***
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2006-08-22 21:25 ` jason at gcc dot gnu dot org
@ 2006-08-25 23:24 ` jsm28 at gcc dot gnu dot org
2006-08-26 21:39 ` jsm28 at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-08-25 23:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jsm28 at gcc dot gnu dot org 2006-08-25 23:23 -------
Working on a fix.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jsm28 at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-07-05 09:46:43 |2006-08-25 23:23:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2006-08-25 23:24 ` jsm28 at gcc dot gnu dot org
@ 2006-08-26 21:39 ` jsm28 at gcc dot gnu dot org
2006-08-26 22:03 ` [Bug c++/24009] [4.0/4.1 " jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-08-26 21:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jsm28 at gcc dot gnu dot org 2006-08-26 21:38 -------
Subject: Bug 24009
Author: jsm28
Date: Sat Aug 26 21:38:46 2006
New Revision: 116479
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116479
Log:
PR c++/24009
* input.h (restore_input_file_stack): Declare.
(INPUT_FILE_STACK_BITS): Define.
* toplev.c (fs_p, input_file_stack_history,
input_file_stack_restored, restore_input_file_stack): New.
(push_srcloc, pop_srcloc): Check for input_file_stack_tick
overflowing INPUT_FILE_STACK_BITS bits. Save new state of stack.
(pop_srcloc): Don't free old state of stack.
cp:
* parser.c (struct cp_token): Add input_file_stack_index.
(eof_token): Update.
(cp_lexer_get_preprocessor_token): Save input_file_stack_tick.
(cp_lexer_set_source_position_from_token): Restore input file
stack.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/input.h
trunk/gcc/toplev.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2006-08-26 21:39 ` jsm28 at gcc dot gnu dot org
@ 2006-08-26 22:03 ` jsm28 at gcc dot gnu dot org
2007-02-14 9:12 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:10 ` [Bug c++/24009] [4.1 " jsm28 at gcc dot gnu dot org
12 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-08-26 22:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from jsm28 at gcc dot gnu dot org 2006-08-26 22:03 -------
Although I expect the same approach as the committed patch to work for 4.0 and
4.1, the patch itself doesn't apply cleanly to 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jsm28 at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2006-08-26 22:03 ` [Bug c++/24009] [4.0/4.1 " jsm28 at gcc dot gnu dot org
@ 2007-02-14 9:12 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:10 ` [Bug c++/24009] [4.1 " jsm28 at gcc dot gnu dot org
12 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:12 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/24009] [4.1 regression] C++ fails to print #include stack
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2007-02-14 9:12 ` mmitchel at gcc dot gnu dot org
@ 2008-07-04 15:10 ` jsm28 at gcc dot gnu dot org
12 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from jsm28 at gcc dot gnu dot org 2008-07-04 15:09 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|4.0.0 4.0.4 4.1.0 |4.0.0 4.0.4 4.1.0 4.1.3
Resolution| |FIXED
Target Milestone|4.1.3 |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-07-04 15:10 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-24009-231@http.gcc.gnu.org/bugzilla/>
2005-10-29 1:32 ` [Bug c++/24009] [4.0/4.1 regression] C++ fails to print #include stack pinskia at gcc dot gnu dot org
2005-10-31 5:53 ` mmitchel at gcc dot gnu dot org
2005-11-01 0:25 ` jsm28 at gcc dot gnu dot org
2005-11-30 17:47 ` [Bug c++/24009] [4.0/4.1/4.2 " gdr at gcc dot gnu dot org
2005-12-04 4:22 ` pinskia at gcc dot gnu dot org
2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:35 ` mmitchel at gcc dot gnu dot org
2006-08-22 21:25 ` jason at gcc dot gnu dot org
2006-08-25 23:24 ` jsm28 at gcc dot gnu dot org
2006-08-26 21:39 ` jsm28 at gcc dot gnu dot org
2006-08-26 22:03 ` [Bug c++/24009] [4.0/4.1 " jsm28 at gcc dot gnu dot org
2007-02-14 9:12 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:10 ` [Bug c++/24009] [4.1 " jsm28 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).