------- Comment #2 from burnus at gcc dot gnu dot org 2010-07-07 15:23 ------- Note: The tricky part for a simple fix is: moduleArray(i)
If one simply wraps in resolve_code the code->expr(1,2) with parentheses (e = gfc_get_parentheses (e)") this leads to "D.123 = modulearray[i]", which does not help for internal modules (cf. PR 40571) ... -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44856