public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/32653]  New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
@ 2007-07-06 17:37 daney at gcc dot gnu dot org
  2007-08-02  0:38 ` [Bug tree-optimization/32653] " daney at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2007-07-06 17:37 UTC (permalink / raw)
  To: gcc-bugs

It seems that in r126296, tree-ssa-pre is using much more memory compiling
libjava/interperter.cc than it did in r126044.  I had to kill it after it was
thrashing for more than 24 hours on my 128MB build machine.

Configured thusly:../gcc/configure --with-arch=mips32 --with-float=soft
--disable-java-awt --without-x --disable-tls --enable-__cxa_atexit
--disable-jvmpi --disable-static --disable-libmudflap
--enable-languages=c,c++,java

At the time I killed it, it was using 342MB according to top.

(gdb) bt
#0  __libc_free (mem=0x58620b0) at malloc.c:3341
#1  0x00c94bec in htab_delete (htab=0x124ad08)
    at ../../gcc/libiberty/hashtab.c:396
#2  0x00a24340 in fini_pre () at ../../gcc/gcc/tree-ssa-pre.c:3929
#3  0x00a33040 in execute_pre (do_fre=0 '\0')
    at ../../gcc/gcc/tree-ssa-pre.c:4030
#4  0x00a33fb4 in do_pre () at ../../gcc/gcc/tree-ssa-pre.c:4038
#5  0x00861e98 in execute_one_pass (pass=0xddcef0)
    at ../../gcc/gcc/passes.c:1125
#6  0x008621c8 in execute_pass_list (pass=0xddcef0)
    at ../../gcc/gcc/passes.c:1178
#7  0x008621e4 in execute_pass_list (pass=0xddc3f0)
    at ../../gcc/gcc/passes.c:1179
#8  0x00976578 in tree_rest_of_compilation (fndecl=0x2b0c3600)
    at ../../gcc/gcc/tree-optimize.c:406
#9  0x00591188 in expand_body (fn=0x2b0c3600)
    at ../../gcc/gcc/cp/semantics.c:3136
#10 0x00b075e8 in cgraph_expand_function (node=0x2bd8aa00)
    at ../../gcc/gcc/cgraphunit.c:1073
#11 0x00b0a90c in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1142
#12 0x0050a7e8 in cp_write_global_declarations ()
    at ../../gcc/gcc/cp/decl2.c:3310
#13 0x0090b470 in toplev_main (argc=<value optimized out>, 
    argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1064
#14 0x2ab96984 in __libc_start_main (main=0x63f420 <main>, argc=75, 
    ubp_av=0x7fb04b64, init=0xcc5540 <__libc_csu_init>, 
    fini=0x2aafd6b8 <_rtld_local>, rtld_fini=0x7fb054aa, stack_end=0x48)


-- 
           Summary: [4.3 Regression] Bootstrap failure with excessive memory
                    consumption in tree-ssa-pre compiling
                    libjava/interperter.c
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 GCC build triplet: mipsel-linux-gnu
  GCC host triplet: mipsel-linux-gnu
GCC target triplet: mipsel-linux-gnu


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
@ 2007-08-02  0:38 ` daney at gcc dot gnu dot org
  2007-09-11 11:46 ` jsm28 at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2007-08-02  0:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from daney at gcc dot gnu dot org  2007-08-02 00:38 -------
Still happens in: revision 127079


-- 


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
  2007-08-02  0:38 ` [Bug tree-optimization/32653] " daney at gcc dot gnu dot org
@ 2007-09-11 11:46 ` jsm28 at gcc dot gnu dot org
  2007-09-11 17:12 ` debian-gcc at lists dot debian dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-09-11 11:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
  2007-08-02  0:38 ` [Bug tree-optimization/32653] " daney at gcc dot gnu dot org
  2007-09-11 11:46 ` jsm28 at gcc dot gnu dot org
@ 2007-09-11 17:12 ` debian-gcc at lists dot debian dot org
  2007-09-24 12:40 ` bonzini at gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2007-09-11 17:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from debian-gcc at lists dot debian dot org  2007-09-11 17:11 -------
seen on arm-linux & m68k-linux as well


-- 


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-09-11 17:12 ` debian-gcc at lists dot debian dot org
@ 2007-09-24 12:40 ` bonzini at gnu dot org
  2007-09-24 13:07 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2007-09-24 12:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bonzini at gnu dot org  2007-09-24 12:39 -------
CCing resident memory-hog bug killer.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-09-24 12:40 ` bonzini at gnu dot org
@ 2007-09-24 13:07 ` rguenth at gcc dot gnu dot org
  2007-09-24 13:10 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-24 13:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-09-24 13:07 -------
haha, 300MB is nothing unusual.  Btw, there's no libjava/interpreter.cc but
libjava/interpret.cc.  And that uses only ~200MB on x86_64.


-- 


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-09-24 13:07 ` rguenth at gcc dot gnu dot org
@ 2007-09-24 13:10 ` rguenth at gcc dot gnu dot org
  2007-10-10 17:46 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-24 13:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2007-09-24 13:10 -------
Created an attachment (id=14250)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14250&action=view)
testcase

Btw, here's the (partly preprocessed) testcase I used.


-- 


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-09-24 13:10 ` rguenth at gcc dot gnu dot org
@ 2007-10-10 17:46 ` mmitchel at gcc dot gnu dot org
  2007-11-05 17:34 ` daney at gcc dot gnu dot org
  2007-11-07 18:59 ` daney at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-10 17:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-10-10 17:46 ` mmitchel at gcc dot gnu dot org
@ 2007-11-05 17:34 ` daney at gcc dot gnu dot org
  2007-11-07 18:59 ` daney at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2007-11-05 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from daney at gcc dot gnu dot org  2007-11-05 17:34 -------
As of r129803, I can bootstrap c,c++,java on my mipsel-linux build machine with
128MB RAM again.  Although some files require more than 128MB of virtual
memory, I have plenty of swap and the system does not thrash so horribly that
it cannot complete a bootstrap.

Unless there are protests, I will mark the bug as FIXED in a couple of days.


-- 


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


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

* [Bug tree-optimization/32653] [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c
  2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-11-05 17:34 ` daney at gcc dot gnu dot org
@ 2007-11-07 18:59 ` daney at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2007-11-07 18:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from daney at gcc dot gnu dot org  2007-11-07 18:59 -------
We no longer regress with respect to this testcase (bootstrapping on my small
mipsel-linux system).


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-11-07 18:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-06 17:37 [Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c daney at gcc dot gnu dot org
2007-08-02  0:38 ` [Bug tree-optimization/32653] " daney at gcc dot gnu dot org
2007-09-11 11:46 ` jsm28 at gcc dot gnu dot org
2007-09-11 17:12 ` debian-gcc at lists dot debian dot org
2007-09-24 12:40 ` bonzini at gnu dot org
2007-09-24 13:07 ` rguenth at gcc dot gnu dot org
2007-09-24 13:10 ` rguenth at gcc dot gnu dot org
2007-10-10 17:46 ` mmitchel at gcc dot gnu dot org
2007-11-05 17:34 ` daney at gcc dot gnu dot org
2007-11-07 18:59 ` daney 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).