------- 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