public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19018] New: virtual memory exhausted
@ 2004-12-15 19:05 david at starks-browning dot com
2004-12-15 19:12 ` [Bug c++/19018] " david at starks-browning dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: david at starks-browning dot com @ 2004-12-15 19:05 UTC (permalink / raw)
To: gcc-bugs
The attached test-case causes cc1plus in gcc-3.3.4 to grow and grow until
memory resources are exhausted, on
SunOS 5.8 Generic_117350-05 sun4u sparc SUNW,Sun-Fire
This is essentially a re-statement of bug #16273, specifically for gcc-3.3.4.
It was originally reported against gcc-3.3.4, but then fixed for gcc-3.4.2,
not gcc-3.3. I'm hoping it can be fixed in gcc-3.3 as well, but I don't
have the authority to re-open #16273.
Here is the invocation:
$ /usr/local/gcc-3.3.4/bin/g++ -v -c corba_original.included.cc
Reading specs from /usr/local/gcc-3.3.4/lib/gcc-lib/sparc-sun-
solaris2.8/3.3.4/specs
Configured with: /var/tmp/dstarksb/gcc-3.3.4/configure --prefix=/usr/local/gcc-
3.3.4 --disable-shared --disable-nls --enable-languages=c,c++,f77,objc
Thread model: posix
gcc version 3.3.4
/usr/local/gcc-3.3.4/lib/gcc-lib/sparc-sun-solaris2.8/3.3.4/cc1plus -quiet -
v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=4 -Dsparc -D__sparc__ -
D__sparc -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc
corba_original.included.cc -D__GNUG__=3 -quiet -dumpbase
corba_original.included.cc -auxbase corba_original.included -version -
o /var/tmp//ccnNq00b.s
GNU C++ version 3.3.4 (sparc-sun-solaris2.8)
compiled by GNU C version 3.3.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/gcc-3.3.4/sparc-sun-
solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/gcc-3.3.4/include/c++/3.3.4
/usr/local/gcc-3.3.4/include/c++/3.3.4/sparc-sun-solaris2.8
/usr/local/gcc-3.3.4/include/c++/3.3.4/backward
/usr/local/include
/usr/local/gcc-3.3.4/include
/usr/local/gcc-3.3.4/lib/gcc-lib/sparc-sun-solaris2.8/3.3.4/include
/usr/include
End of search list.
I will attach corba_original.ii which is derived from corba_original.cc
as attached to bug #16273 (as attachment id 6931), using --save-temps.
Unfortunately it is 40,000 lines long.
I'm interested because I see this on other code. I don't have permission
to provide the other code, so I'm recycling this old test case rather than
supply a new one.
If someone wants to re-open #16273 and mark this as a duplicate, that would
be OK with me.
I can build & test snapshots but unfortunately I don't have cvs-pserver access.
Thanks for your help.
Sincerely,
David
--
Summary: virtual memory exhausted
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david at starks-browning dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
@ 2004-12-15 19:12 ` david at starks-browning dot com
2004-12-15 19:19 ` [Bug c++/19018] [3.3 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: david at starks-browning dot com @ 2004-12-15 19:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From david at starks-browning dot com 2004-12-15 19:12 -------
Created an attachment (id=7750)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7750&action=view)
Preprocessed test case.
Attachment as promised. This is a pre-processed testcase derived from
"corba_original.cc" as attached to bug #16273, attachment id 6931,
using --save-temps. I'm sorry it's 40K lines long, but it does reproduce
the problem for me on the above configuration.
-David
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] [3.3 Regression] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
2004-12-15 19:12 ` [Bug c++/19018] " david at starks-browning dot com
@ 2004-12-15 19:19 ` pinskia at gcc dot gnu dot org
2004-12-15 20:16 ` gdr at integrable-solutions dot net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-15 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-15 19:19 -------
I let GDR decide if he wants this patch to fix it for 3.3.x.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org
Keywords| |memory-hog
Known to work| |3.4.0 4.0.0
Summary|virtual memory exhausted |[3.3 Regression] virtual
| |memory exhausted
Target Milestone|--- |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] [3.3 Regression] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
2004-12-15 19:12 ` [Bug c++/19018] " david at starks-browning dot com
2004-12-15 19:19 ` [Bug c++/19018] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-15 20:16 ` gdr at integrable-solutions dot net
2004-12-15 23:44 ` giovannibajo at libero dot it
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-12-15 20:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2004-12-15 20:16 -------
Subject: Re: [3.3 Regression] virtual memory exhausted
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| I let GDR decide if he wants this patch to fix it for 3.3.x.
hmm, which patch?
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] [3.3 Regression] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
` (2 preceding siblings ...)
2004-12-15 20:16 ` gdr at integrable-solutions dot net
@ 2004-12-15 23:44 ` giovannibajo at libero dot it
2004-12-16 10:30 ` david at starks-browning dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2004-12-15 23:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-12-15 23:43 -------
The same that fixed PR 16273. This bug is basically PR16273 which was marked as
a 3.3 regression too but was closed as fixed after the patch was committed only
to 3.4 and mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] [3.3 Regression] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
` (3 preceding siblings ...)
2004-12-15 23:44 ` giovannibajo at libero dot it
@ 2004-12-16 10:30 ` david at starks-browning dot com
2004-12-21 11:17 ` ebotcazou at gcc dot gnu dot org
2005-04-30 13:15 ` gdr at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: david at starks-browning dot com @ 2004-12-16 10:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From david at starks-browning dot com 2004-12-16 10:30 -------
True, but I don't believe the patch for PR16273 is applicable to gcc-3.3.
In fact, I am unable to reproduce the fault in gcc-3.3 using the 10,000-line
test case that was attached to PR16273. Therefore, my guess is that the
smaller test case (attachment id 6664) was refined against gcc-3.4 and led to
the patch that fixed the symptom in gcc-3.4. I don't know how much of that
effort could be applied to gcc-3.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] [3.3 Regression] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
` (4 preceding siblings ...)
2004-12-16 10:30 ` david at starks-browning dot com
@ 2004-12-21 11:17 ` ebotcazou at gcc dot gnu dot org
2005-04-30 13:15 ` gdr at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-12-21 11:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-12-21 11:17 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-21 11:17:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/19018] [3.3 Regression] virtual memory exhausted
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
` (5 preceding siblings ...)
2004-12-21 11:17 ` ebotcazou at gcc dot gnu dot org
@ 2005-04-30 13:15 ` gdr at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 13:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2005-04-30 13:15 -------
Won't fix for 3.3.6. Suggest upgrade to 3.4.x
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19018
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-04-30 13:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-15 19:05 [Bug c++/19018] New: virtual memory exhausted david at starks-browning dot com
2004-12-15 19:12 ` [Bug c++/19018] " david at starks-browning dot com
2004-12-15 19:19 ` [Bug c++/19018] [3.3 Regression] " pinskia at gcc dot gnu dot org
2004-12-15 20:16 ` gdr at integrable-solutions dot net
2004-12-15 23:44 ` giovannibajo at libero dot it
2004-12-16 10:30 ` david at starks-browning dot com
2004-12-21 11:17 ` ebotcazou at gcc dot gnu dot org
2005-04-30 13:15 ` gdr 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).