[Bug rtl-optimization/54269] [4.8 Regression] memory usage too large when optimizing

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Wed Aug 15 09:57:00 GMT 2012


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

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-08-15 09:57:13 UTC ---
seems like it is triggered by unrolling, using

gfortran -O2 -funroll-loops -ffree-form -D__LIBINT hfx_contraction_methods.F

is enough. A bt at the first point where memory seems to go up is:

#1  0x00000000007176de in df_scan_verify () at ../../gcc/gcc/df-scan.c:4540
#2  0x0000000000706245 in df_verify () at ../../gcc/gcc/df-core.c:1645
#3  df_analyze () at ../../gcc/gcc/df-core.c:1206
#4  0x00000000008a211b in iv_analysis_loop_init (loop=0x7f4b0ece63b8)
    at ../../gcc/gcc/loop-iv.c:299
#5  0x00000000008a56ba in get_simple_loop_desc (loop=0x7f4b0ece63b8)
    at ../../gcc/gcc/loop-iv.c:2973
#6  0x00000000008a8c70 in decide_peel_once_rolling (flags=2)
    at ../../gcc/gcc/loop-unroll.c:337
#7  peel_loops_completely (flags=2) at ../../gcc/gcc/loop-unroll.c:248
#8  unroll_and_peel_loops (flags=2) at ../../gcc/gcc/loop-unroll.c:164
#9  0x000000000089cc98 in rtl_unroll_and_peel_loops ()
    at ../../gcc/gcc/loop-init.c:370



More information about the Gcc-bugs mailing list