[Patch, fortran] [09/21] Remove coarray support in the scalarizer: Accept coarray dimensions in gfc_conv_section_startstride

Mikael Morin mikael.morin@sfr.fr
Thu Sep 15 23:10:00 GMT 2011


Currently, gfc_walk_variable_expr changes codimension's type from
DIMEN_THIS_IMAGE to DIMEN_RANGE so that it looks like a regular array. 
We are going to remove that but still want to call gfc_conv_section_startstride
on the coarray dimensions to get the cobounds.
This patch relaxes an assertion in gfc_conv_section_startstride to accept
coarray dimensions.

OK?
-------------- next part --------------
2011-09-14  Mikael Morin  <mikael.morin@sfr.fr>

	* trans-array.c (gfc_conv_section_startstride): Update assertion to
	also accept coarrays.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_coarray_in_scalarizer-9.diff
Type: text/x-diff
Size: 465 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110915/6a99776f/attachment.bin>


More information about the Gcc-patches mailing list