This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, fortran] [13..19/66] inline sum and product: Interfaces changes
- From: Mikael Morin <mikael dot morin at sfr dot fr>
- To: gfortran <fortran at gcc dot gnu dot org> , GCC patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 28 Oct 2011 01:29:47 +0200 (CEST)
- Subject: [Patch, fortran] [13..19/66] inline sum and product: Interfaces changes
- References: <20111027232818.18581.901@gimli.local>
This is another preliminary change, to update function interfaces requiring
it, so that afterwards structures can be changed internally without impacting
function interfaces.
The main reason for these changes is that gfc_ss_info's dim and dimen fields
are to be moved to struct gfc_ss. Thus functions having a pointer to type
gfc_ss_info as argument will lose access to those fields; the argument needs to
be changed to a gfc_ss type (patches 14, 16, 17, 18, 19).
Patches 13 and 15 are additional cleanups removing useless or redundant code
They are part of this serie as they also involve interface changes.
Patch 13: gfc_trans_constant_array_constructor.
Patch 14: gfc_trans_array_bound_check, gfc_conv_array_index_offset.
Patch 15: gfc_trans_array_bound_check (follow-up).
Patch 16: gfc_trans_create_temp_array.
Patch 17: gfc_set_vector_loop_bounds.
Patch 18: get_array_ref_dim.
Patch 19: dim_ok.