[Patch, fortran] [26/66] inline sum and product: Update core structs: Move scalar struct.

Mikael Morin mikael.morin@sfr.fr
Thu Oct 27 23:33:00 GMT 2011


This moves data::scalar field from gfc_ss to gfc_ss_info.
The expr subfield is renamed to value, as it is not the expression really,
it is a reference to a variable containing the pre-calculated value.
OK?
-------------- next part --------------
2011-10-19  Mikael Morin  <mikael@gcc.gnu.org>

	* trans.h (struct gfc_ss, struct gfc_ss_info): Move member struct
	gfc_ss::data::scalar into newly created union gfc_ss_info::data,
	and rename subfield expr to value.
	* trans-array.c (gfc_add_loop_ss_code, gfc_conv_array_index_offset,
	gfc_conv_expr_descriptor): Update reference chains.
	* trans-const.c (gfc_conv_constant): Ditto.
	* trans-expr.c (gfc_conv_expr): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr43829-26.patch
Type: text/x-diff
Size: 3223 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111027/a3d6fed9/attachment.bin>


More information about the Gcc-patches mailing list