[Bug fortran/20923] gfortran slow for large array constructors
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 6 14:43:00 GMT 2007
------- Comment #9 from tobi at gcc dot gnu dot org 2007-10-06 14:43 -------
And this looks like the right place for an attack:
/* Given an array constructor, determine if the constructor is
constant or not by expanding it and making sure that all elements
are constants. This is a bit of a hack since something like (/ (i,
i=1,100000000) /) will take a while as* opposed to a more clever
function that traverses the expression tree. FIXME. */
int
gfc_constant_ac (gfc_expr *e)
{
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20923
More information about the Gcc-bugs
mailing list