trans-array.c (gfc_trans_array_constructor, [...]): Rename the former to the later.
* trans-array.c (gfc_trans_array_constructor, trans_array_constructor): Rename the former to the later. Get loop from ss. Remove loop argument. (gfc_add_loop_ss_code): Update call. From-SVN: r180886
This commit is contained in:
parent
84952a4e31
commit
6adbe65465
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2011-11-03 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* trans-array.c (gfc_trans_array_constructor, trans_array_constructor):
|
||||
Rename the former to the later. Get loop from ss.
|
||||
Remove loop argument.
|
||||
(gfc_add_loop_ss_code): Update call.
|
||||
|
||||
2011-11-03 Mikael Morin <mikael@gcc.gnu.org>
|
||||
|
||||
* trans-array.c (gfc_set_vector_loop_bounds): Get loop from ss.
|
||||
|
|
|
@ -1981,7 +1981,7 @@ constant_array_constructor_loop_size (gfc_loopinfo * loop)
|
|||
simplest method. */
|
||||
|
||||
static void
|
||||
gfc_trans_array_constructor (gfc_loopinfo * loop, gfc_ss * ss, locus * where)
|
||||
trans_array_constructor (gfc_ss * ss, locus * where)
|
||||
{
|
||||
gfc_constructor_base c;
|
||||
tree offset;
|
||||
|
@ -1992,6 +1992,7 @@ gfc_trans_array_constructor (gfc_loopinfo * loop, gfc_ss * ss, locus * where)
|
|||
bool dynamic;
|
||||
bool old_first_len, old_typespec_chararray_ctor;
|
||||
tree old_first_len_val;
|
||||
gfc_loopinfo *loop;
|
||||
gfc_ss_info *ss_info;
|
||||
gfc_expr *expr;
|
||||
|
||||
|
@ -2000,6 +2001,7 @@ gfc_trans_array_constructor (gfc_loopinfo * loop, gfc_ss * ss, locus * where)
|
|||
old_first_len_val = first_len_val;
|
||||
old_typespec_chararray_ctor = typespec_chararray_ctor;
|
||||
|
||||
loop = ss->loop;
|
||||
ss_info = ss->info;
|
||||
expr = ss_info->expr;
|
||||
|
||||
|
@ -2314,7 +2316,7 @@ gfc_add_loop_ss_code (gfc_loopinfo * loop, gfc_ss * ss, bool subscript,
|
|||
gfc_add_block_to_block (&loop->pre, &se.pre);
|
||||
gfc_add_block_to_block (&loop->post, &se.post);
|
||||
}
|
||||
gfc_trans_array_constructor (loop, ss, where);
|
||||
trans_array_constructor (ss, where);
|
||||
break;
|
||||
|
||||
case GFC_SS_TEMP:
|
||||
|
|
Loading…
Add table
Reference in a new issue