[Patch, fortran] [03/21] Remove coarray support in the scalarizer: Simplify coarray descriptor setup.

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


In gfc_conv_expr_descriptor, the code setting the descriptor cobounds (copied
from the non-coarray case) has unnecessary stuff irrelevant to coarrays:
as codimensions can't be transposed, the condition dim[n] == n is guaranteed
to hold true for the codimensions.
This patch removes unnecessary code based on that assumption.

OK?

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

	* trans-array.c (gfc_conv_expr_descriptor): Simplify coarray
	descriptor setup code. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_coarray_in_scalarizer-3.diff
Type: text/x-diff
Size: 940 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110915/23a03d4b/attachment.bin>


More information about the Gcc-patches mailing list