Commit 3120f511 by Mikael Morin

trans-array.c (set_loop_bounds): Remove dead conditions.

	* trans-array.c (set_loop_bounds): Remove dead conditions.

From-SVN: r181731
parent f6a40ccd
2011-11-25 Mikael Morin <mikael@gcc.gnu.org>
* trans-array.c (set_loop_bounds): Remove dead conditions.
2011-11-25 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/51250
PR fortran/43829
* trans-array.c (gfc_trans_create_temp_array): Get dimension from
......
......@@ -4341,9 +4341,9 @@ set_loop_bounds (gfc_loopinfo *loop)
}
/* Transform everything so we have a simple incrementing variable. */
if (n < loop->dimen && integer_onep (info->stride[dim]))
if (integer_onep (info->stride[dim]))
info->delta[dim] = gfc_index_zero_node;
else if (n < loop->dimen)
else
{
/* Set the delta for this section. */
info->delta[dim] = gfc_evaluate_now (loop->from[n], &loop->pre);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment