* C++ slow/swappy problem solved
@ 2002-10-14 2:08 Tony Bryant
2002-10-15 15:27 ` Gerald Pfeifer
0 siblings, 1 reply; 3+ messages in thread
From: Tony Bryant @ 2002-10-14 2:08 UTC (permalink / raw)
To: gcc
I've reduced the 160Mb compile down to
this fragment:
-------------------------------------
class x
{
public:
unsigned long mem[1024*1024*10];
x();
};
class y : public x
{
public:
y();
};
----------------------------------------
Some digging show that "record_subobject_offset" in class.c is being
called for EVERY item in x::mem
I now have enough info for a workaround, and I've put an entry in gnatsweb -
Do with it what you will....
BTW- the allocated offset information isn't showing up in -fmem-report....
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C++ slow/swappy problem solved
2002-10-14 2:08 C++ slow/swappy problem solved Tony Bryant
@ 2002-10-15 15:27 ` Gerald Pfeifer
2002-10-15 16:51 ` Richard Henderson
0 siblings, 1 reply; 3+ messages in thread
From: Gerald Pfeifer @ 2002-10-15 15:27 UTC (permalink / raw)
To: Tony Bryant; +Cc: gcc
On Mon, 14 Oct 2002, Tony Bryant wrote:
> I now have enough info for a workaround, and I've put an entry in gnatsweb -
> Do with it what you will....
This is PR c++/8218, and definitely a regression from GCC 2.95 which
means according to our development model we should fix it before the
next release.
Joe Buck beat me in marking this "high priority".
Gerald
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C++ slow/swappy problem solved
2002-10-15 15:27 ` Gerald Pfeifer
@ 2002-10-15 16:51 ` Richard Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2002-10-15 16:51 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: Tony Bryant, gcc
On Tue, Oct 15, 2002 at 11:34:51PM +0200, Gerald Pfeifer wrote:
> This is PR c++/8218, and definitely a regression from GCC 2.95 which
> means according to our development model we should fix it before the
> next release.
This is a duplicate of c++/6804, which I submitted several months ago.
r~
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-15 22:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 2:08 C++ slow/swappy problem solved Tony Bryant
2002-10-15 15:27 ` Gerald Pfeifer
2002-10-15 16:51 ` Richard Henderson
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).