Move one condition out of gfc_trans_scalar_assign
authorMikael Morin <mikael@gcc.gnu.org>
Thu, 6 Aug 2015 20:47:36 +0000 (20:47 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Thu, 6 Aug 2015 20:47:36 +0000 (20:47 +0000)
commited673c00bfec3dafcd8d37114282c5c0f4c207d8
tree962fd58d54e846aff50066f35696155719afac5c
parent0eb6f71c48a4ee9d0c1dc85e31d8c135eb306d98
Move one condition out of gfc_trans_scalar_assign

* trans.h (gfc_trans_scalar_assign): Remove fourth argument.
* trans-expr.c (gfc_trans_scalar_assign): Merge fourth into sixth
argument.
(gfc_conv_subref_array_arg, gfc_trans_subarray_assign,
 gfc_trans_subcomponent_assign, gfc_trans_assignment_1): Update callers.
* trans-array.c (gfc_conv_expr_descriptor): Ditto.
* trans-stmt.c (forall_make_variable_temp,
generate_loop_for_temp_to_lhs, generate_loop_for_rhs_to_temp,
gfc_trans_where_assign, gfc_trans_where_3): Ditto.

From-SVN: r226700
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans.h