------- Comment #6 from dfranke at gcc dot gnu dot org  2010-05-05 22:18 -------
Ignore my previous claims. I now realized that you used a somewhat different
testcase, not the one from PR40472 - my bad :(

$ time gfortran-svn pr43996.f90
pr43996.f90: In function 'MAIN__':
pr43996.f90:4:0: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:4222

That's a gcc_unreachable() ...


$ time gfortran-svn pr43996.f90 -fmax-array-constructor=1000000 && ./a.out
real    0m4.093s
user    0m3.744s
sys     0m0.228s
      259200   720.00000 

The patch has the same effect as the -fmax-array-constructor=HUGE.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-05 22:18:03
               date|                            |


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

Reply via email to