[Bug fortran/20923] gfortran slow for large array constructors

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 27 07:32:00 GMT 2009



------- Comment #12 from jvdelisle at gcc dot gnu dot org  2009-11-27 07:31 -------
Created an attachment (id=19161)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19161&action=view)
Preliminary patch

This patch cuts the compilation time of the original test case in half.  It
passes all regression tests except initialization_20.f90.  I think this is an
example of case that relies on a side effect to work.  If we can resilve this
one regression we will make substantial progress.  The failing test case needs
expansion/reduction.  I just need to find the spot, which I suspect is in
expr.c (gfc_reduce_init_expr)


-- 


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



More information about the Gcc-bugs mailing list