OSDN Git Service

* trans-array.c (gfc_trans_preloop_setup): Assertify one condition.
[pf3gnuchains/gcc-fork.git] / gcc / fortran / trans-array.c
index 5500ec4..8359af2 100644 (file)
@@ -2885,8 +2885,7 @@ gfc_trans_preloop_setup (gfc_loopinfo * loop, int dim, int flag,
 
       info = &ss->data.info;
 
-      if (dim >= info->dimen)
-       continue;
+      gcc_assert (dim < info->dimen);
       gcc_assert (info->dimen == loop->dimen);
 
       if (info->ref)