public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: compiler memory use optimization
@ 2004-11-21  6:49 Dan Kegel
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Kegel @ 2004-11-21  6:49 UTC (permalink / raw)
  To: GCC Mailing List

Joe Buck wrote:

> Giovanni Bajo wrote:
>> The good news is that 3.4 is much better [than 3.3] on many testcases.
>> (Un)luckily, it is also much more ISO/ANSI C++ standard compliant, so
>> upgrading from 3.3 to 3.4 for a large C++ applications could be non-trivial.
> 
> This is mainly the case for those who have never used compilers other than
> g++, and who learn the language by throwing code at the compiler and
> seeing what works.

The scars on my back say large C++ applications by even very
good programmers can be a lot of work to port from gcc-3.3 to gcc-3.4.
Or from gcc-2.95.3 to gcc-3.3.  Or from 32 bit to 64 bit.  Or from
gcc-3.4 to icc-8.1.  Any big change brings its own set of problems...
- Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

^ permalink raw reply	[flat|nested] 5+ messages in thread
* compiler memory use optimization
@ 2004-11-18 18:45 naje
  2004-11-18 19:33 ` Giovanni Bajo
  2004-11-18 22:45 ` Mike Stump
  0 siblings, 2 replies; 5+ messages in thread
From: naje @ 2004-11-18 18:45 UTC (permalink / raw)
  To: gcc

Hi,
my program use C++ templates vary hard, so i've got much memory spent for
compilation, and sometimes i've got "virtual memory exhaust" error.
Is there any way to find out which part of my program is hard to
compile to optimize it, and is there any methods to optimize memory use in gcc?
And that kinds of optimizations of my code can i use to optimize
compilation?

I use gcc3.3 on freebsd 5.2.
Thank you.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-21  0:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-21  6:49 compiler memory use optimization Dan Kegel
  -- strict thread matches above, loose matches on Subject: below --
2004-11-18 18:45 naje
2004-11-18 19:33 ` Giovanni Bajo
2004-11-18 22:30   ` Joe Buck
2004-11-18 22:45 ` Mike Stump

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).