Commit db171167 by Mikael Morin

array.c (gfc_find_array_ref): Remove coarray-specific handling.

	* array.c (gfc_find_array_ref): Remove coarray-specific handling.

From-SVN: r180149
parent 66b23e93
2011-10-18 Mikael Morin <mikael@gcc.gnu.org>
* array.c (gfc_find_array_ref): Remove coarray-specific handling.
2011-10-18 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/50420
* check.c (dim_corank_check): Use gfc_get_corank to get corank.
......
......@@ -2296,8 +2296,7 @@ gfc_find_array_ref (gfc_expr *e)
for (ref = e->ref; ref; ref = ref->next)
if (ref->type == REF_ARRAY
&& (ref->u.ar.type == AR_FULL || ref->u.ar.type == AR_SECTION
|| (ref->u.ar.type == AR_ELEMENT && ref->u.ar.dimen == 0)))
&& (ref->u.ar.type == AR_FULL || ref->u.ar.type == AR_SECTION))
break;
if (ref == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment