trans-array.c (set_loop_bounds): Remove dead conditions.
* trans-array.c (set_loop_bounds): Remove dead conditions. From-SVN: r181731
This commit is contained in:
parent
f6a40ccda3
commit
3120f5119c
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue