This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/32653] New: [4.3 Regression] Bootstrap failure with excessive memory consumption in tree-ssa-pre compiling libjava/interperter.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]