public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member
@ 2004-11-13 16:26 peturr02 at ru dot is
2004-11-13 16:26 ` [Bug c++/18462] " peturr02 at ru dot is
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: peturr02 at ru dot is @ 2004-11-13 16:26 UTC (permalink / raw)
To: gcc-bugs
The compiler segfaults when compiling a class declaration that has a very large
array member of class type. This works fine with an array of int and also works
with gcc 3.3.5 and earlier, but fails with all gcc 3.4 releases.
--
Summary: [3.4 Regression] Segfault on declaration of large array
member
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peturr02 at ru dot is
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=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
@ 2004-11-13 16:26 ` peturr02 at ru dot is
2004-11-13 16:45 ` [Bug c++/18462] [3.4/4.0 " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: peturr02 at ru dot is @ 2004-11-13 16:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From peturr02 at ru dot is 2004-11-13 16:26 -------
Created an attachment (id=7539)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7539&action=view)
Preprocessed source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4/4.0 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
2004-11-13 16:26 ` [Bug c++/18462] " peturr02 at ru dot is
@ 2004-11-13 16:45 ` pinskia at gcc dot gnu dot org
2004-12-05 4:01 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-13 16:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-13 16:45 -------
Either this is a dup of PR 16681 or there is another bug. The splay_tree is very long which causes the
stack to be overflowed. Maybe we should fix the recursive nature of splay_tree_delete.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |16681
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.4.3 4.0.0
Known to work| |3.3
Last reconfirmed|0000-00-00 00:00:00 |2004-11-13 16:45:23
date| |
Summary|[3.4 Regression] Segfault on|[3.4/4.0 Regression]
|declaration of large array |Segfault on declaration of
|member |large array member
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4/4.0 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
2004-11-13 16:26 ` [Bug c++/18462] " peturr02 at ru dot is
2004-11-13 16:45 ` [Bug c++/18462] [3.4/4.0 " pinskia at gcc dot gnu dot org
@ 2004-12-05 4:01 ` pinskia at gcc dot gnu dot org
2004-12-07 15:47 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-05 4:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-05 04:01 -------
: Search converges between 2003-12-18-trunk (#431) and 2003-12-24-trunk (#432).
--
What |Removed |Added
----------------------------------------------------------------------------
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=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4/4.0 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
` (2 preceding siblings ...)
2004-12-05 4:01 ` pinskia at gcc dot gnu dot org
@ 2004-12-07 15:47 ` pinskia at gcc dot gnu dot org
2004-12-07 15:49 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-07 15:47 -------
*** Bug 18873 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=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4/4.0 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
` (3 preceding siblings ...)
2004-12-07 15:47 ` pinskia at gcc dot gnu dot org
@ 2004-12-07 15:49 ` pinskia at gcc dot gnu dot org
2004-12-07 16:17 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 15:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-07 15:49 -------
Note there is a patch to fix splay_tree_delete in PR 18602.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18602
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4/4.0 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
` (4 preceding siblings ...)
2004-12-07 15:49 ` pinskia at gcc dot gnu dot org
@ 2004-12-07 16:17 ` jakub at gcc dot gnu dot org
2004-12-07 21:30 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-12-07 16:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2004-12-07 16:17 -------
Any reason why that patch hasn't been applied?
Just verified it works and on the testcase in PR 18873 it is even tiny
bit faster than the recursive variant.
Though splay_tree_splay_helper is recursive too, so it is only partial solution.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4/4.0 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
` (5 preceding siblings ...)
2004-12-07 16:17 ` jakub at gcc dot gnu dot org
@ 2004-12-07 21:30 ` pinskia at gcc dot gnu dot org
2004-12-07 21:32 ` [Bug c++/18462] [3.4 " pinskia at gcc dot gnu dot org
2004-12-09 15:10 ` nathan at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 21:30 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18462 depends on bug 18602, which changed state.
Bug 18602 Summary: segfault on a huge switch statement.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18602
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
` (6 preceding siblings ...)
2004-12-07 21:30 ` pinskia at gcc dot gnu dot org
@ 2004-12-07 21:32 ` pinskia at gcc dot gnu dot org
2004-12-09 15:10 ` nathan at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 21:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-07 21:32 -------
Fixed on the mainline by the patch which fixed 18602.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.4.3 4.0.0 |3.4.3
Known to work|3.3 |3.3 4.0.0
Summary|[3.4/4.0 Regression] |[3.4 Regression] Segfault on
|Segfault on declaration of |declaration of large array
|large array member |member
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/18462] [3.4 Regression] Segfault on declaration of large array member
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
` (7 preceding siblings ...)
2004-12-07 21:32 ` [Bug c++/18462] [3.4 " pinskia at gcc dot gnu dot org
@ 2004-12-09 15:10 ` nathan at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-12-09 15:10 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18462 depends on bug 16681, which changed state.
Bug 16681 Summary: [3.3/3.4 regression] array initialization in struct construct is a memory hog
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16681
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18462
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-12-09 15:10 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-13 16:26 [Bug c++/18462] New: [3.4 Regression] Segfault on declaration of large array member peturr02 at ru dot is
2004-11-13 16:26 ` [Bug c++/18462] " peturr02 at ru dot is
2004-11-13 16:45 ` [Bug c++/18462] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-12-05 4:01 ` pinskia at gcc dot gnu dot org
2004-12-07 15:47 ` pinskia at gcc dot gnu dot org
2004-12-07 15:49 ` pinskia at gcc dot gnu dot org
2004-12-07 16:17 ` jakub at gcc dot gnu dot org
2004-12-07 21:30 ` pinskia at gcc dot gnu dot org
2004-12-07 21:32 ` [Bug c++/18462] [3.4 " pinskia at gcc dot gnu dot org
2004-12-09 15:10 ` nathan 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).