Commit b0ac6998 by Mikael Morin Committed by Mikael Morin

trans-array.c (gfc_conv_section_startstride): Update assertion to also accept coarrays.

	* trans-array.c (gfc_conv_section_startstride): Update assertion to
	also accept coarrays.

From-SVN: r179680
parent 3ca39858
2011-10-07 Mikael Morin <mikael.morin@sfr.fr>
* trans-array.c (gfc_conv_section_startstride): Update assertion to
also accept coarrays.
2011-10-07 Mikael Morin <mikael.morin@sfr.fr>
* trans-array.c (gfc_conv_section_startstride): Factor common
array ref references.
......
......@@ -3204,7 +3204,8 @@ gfc_conv_section_startstride (gfc_loopinfo * loop, gfc_ss * ss, int dim,
return;
}
gcc_assert (ar->dimen_type[dim] == DIMEN_RANGE);
gcc_assert (ar->dimen_type[dim] == DIMEN_RANGE
|| ar->dimen_type[dim] == DIMEN_THIS_IMAGE);
desc = info->descriptor;
start = ar->start[dim];
end = ar->end[dim];
......
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