Commit 7f6d568e by Mikael Morin

trans-array.c (gfc_trans_preloop_setup): Factor loop index initialization.


	* trans-array.c (gfc_trans_preloop_setup): Factor loop index
	initialization.

From-SVN: r180844
parent bee1695c
2011-11-03 Mikael Morin <mikael@gcc.gnu.org>
* trans-array.c (gfc_trans_preloop_setup): Factor loop index
initialization.
2011-11-03 Mikael Morin <mikael@gcc.gnu.org>
* trans-array.c (gfc_trans_preloop_setup): Move code earlier.
2011-11-03 Mikael Morin <mikael@gcc.gnu.org>
......
......@@ -2863,16 +2863,15 @@ gfc_trans_preloop_setup (gfc_loopinfo * loop, int dim, int flag,
continue;
if (info->ref)
{
ar = &info->ref->u.ar;
i = loop->order[dim + 1];
}
ar = &info->ref->u.ar;
else
{
ar = NULL;
i = dim + 1;
}
ar = NULL;
i = dim + 1;
/* For the time being, there is no loop reordering. */
gcc_assert (i == loop->order[i]);
i = loop->order[i];
if (dim == info->dimen - 1)
{
......
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