------- Comment #26 from dominiq at lps dot ens dot fr 2010-05-01 12:52 ------- > The patch in #23 actually reverts the previous changes :)
I blindly applied the patch without looking at the previous changes!) > If I read your timing correctly, that's ~4 seconds versus >10 minutes of > before? I'd call that fixed then. If you revert the changes, don't forget to update gcc/testsuite/gfortran.dg/spread_size_limit.f90. Also I see a small slow down for the test in pr34554 (gfc is patched, gfcp not): [macbook] f90/bug% time gfc pr34554.f90 259.917u 0.168s 4:20.44 99.8% 0+0k 0+29io 0pf+0w [macbook] f90/bug% a.out 152 135210384 [macbook] f90/bug% time gfcp pr34554.f90 249.102u 0.129s 4:09.39 99.9% 0+0k 1+22io 0pf+0w [macbook] f90/bug% a.out 152 135210384 Also the timing (with/without patch) for a variant of pr19925 is: [macbook] f90/bug% time gfc pr19925_1.f90 -fmax-array-constructor=100000 3.038u 0.175s 0:03.22 99.3% 0+0k 0+16io 0pf+0w So, is the machinery around -fmax-array-constructor still needed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40472