public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/43058]  New: [4.5 Regression] var-tracking uses up all virtual memory
@ 2010-02-13 19:04 rguenth at gcc dot gnu dot org
  2010-02-13 19:06 ` [Bug rtl-optimization/43058] " rguenth at gcc dot gnu dot org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-13 19:04 UTC (permalink / raw)
  To: gcc-bugs

/usr/lib64/gcc/x86_64-suse-linux/4.5/cc1 -m32 -fpreprocessed xg.i -quiet
-dumpbase xg.c -mtune=generic -march=i586 -auxbase xg -g -O2 -O2 -Wall -version
-fomit-frame-pointer -fmessage-length=0 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -fno-strict-aliasing -o xg.s --param
ggc-min-expand=100 --param ggc-min-heapsize=131072

uses more than 2GB of virtual memory when on a 32bit host (and thus fails
to compile).  On a 64bit host we top at >3GB (I need to re-try on a host
with more memory, I'm swapping to death right now).

Related to PR41371, the offender is var-tracking.  Without -g we top
at 600MB on the 64bit host.

I suppose we inline all single-call static functions into Init_libxg
which makes it biiiig (and containing lots of calls).


-- 
           Summary: [4.5 Regression] var-tracking uses up all virtual memory
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: memory-hog
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: i?86-linux
 BugsThisDependsOn: 41371


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43058


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

end of thread, other threads:[~2010-03-23  6:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-13 19:04 [Bug rtl-optimization/43058] New: [4.5 Regression] var-tracking uses up all virtual memory rguenth at gcc dot gnu dot org
2010-02-13 19:06 ` [Bug rtl-optimization/43058] " rguenth at gcc dot gnu dot org
2010-02-13 19:13 ` rguenth at gcc dot gnu dot org
2010-02-13 19:25 ` rguenth at gcc dot gnu dot org
2010-02-13 19:38 ` rguenth at gcc dot gnu dot org
2010-02-13 19:57 ` rguenth at gcc dot gnu dot org
2010-02-15 16:57 ` rguenth at gcc dot gnu dot org
2010-02-17 16:57 ` mmitchel at gcc dot gnu dot org
2010-02-19 11:55 ` rguenth at gcc dot gnu dot org
2010-02-24 18:25 ` jakub at gcc dot gnu dot org
2010-03-05 15:19 ` jakub at gcc dot gnu dot org
2010-03-12 12:06 ` rguenth at gcc dot gnu dot org
2010-03-17 10:58 ` jakub at gcc dot gnu dot org
2010-03-17 15:05 ` jakub at gcc dot gnu dot org
2010-03-18 20:15 ` jakub at gcc dot gnu dot org
2010-03-18 20:31 ` jakub at gcc dot gnu dot org
2010-03-23  0:58 ` wilson at gcc dot gnu dot org
2010-03-23  6:49 ` jakub 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).