2015-05-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66041
PR fortran/37131
* gfortran.h (gfc_array_spec): Add field resolved.
* array.c (gfc_resolve_array_spec): Resolve array spec
only once.
From-SVN: r223031
+2015-05-12 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/66041
+ PR fortran/37131
+ * gfortran.h (gfc_array_spec): Add field resolved.
+ * array.c (gfc_resolve_array_spec): Resolve array spec
+ only once.
+
2015-05-11 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/66100
if (as == NULL)
return true;
+ if (as->resolved)
+ return true;
+
for (i = 0; i < as->rank + as->corank; i++)
{
e = as->lower[i];
}
}
+ as->resolved = true;
+
return true;
}
bool cp_was_assumed; /* AS_ASSUMED_SIZE cp arrays are converted to
AS_EXPLICIT, but we want to remember that we
did this. */
+
+ bool resolved;
}
gfc_array_spec;