------- Comment #7 from dominiq at lps dot ens dot fr 2010-04-14 13:26 ------- After revision 158291 I get
[macbook] f90/bug% time gfc pr19925_1.f90 pr19925_1.f90:2.27: INTEGER, PARAMETER :: I(N)=(/(MOD(K,2),K=1,N)/) 1 Error: The number of elements in the array constructor at (1) requires an increase of the allowed 65535 upper limit. See -fmax-array-constructor option 1.576u 0.019s 0:01.60 98.7% 0+0k 0+19io 0pf+0w [macbook] f90/bug% time gfc pr19925_1_db.f90 pr19925_1_db.f90:2.27: INTEGER, PARAMETER :: I(N)=(/(MOD(K,2),K=1,N)/) 1 Error: The number of elements in the array constructor at (1) requires an increase of the allowed 65535 upper limit. See -fmax-array-constructor option 1.587u 0.023s 0:01.94 82.4% 0+0k 0+17io 0pf+0w [macbook] f90/bug% time gfc pr19925_1.f90 -fmax-array-constructor=100000 3.330u 0.177s 0:03.51 99.7% 0+0k 0+25io 0pf+0w [macbook] f90/bug% time gfc pr19925_1_db.f90 -fmax-array-constructor=100000 3.432u 0.191s 0:03.87 93.5% 0+0k 0+9io 0pf+0w [macbook] f90/bug% a.out 1 0 0 1 So no more ICE, and the compilation with -fmax-array-constructor=100000 is now more than two order of magnitude faster (nice!-). So closing as fixed. -- dominiq at lps dot ens dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43747