* etime.c (etime_sub): Remove array rank check;
Add check for sufficient space.
From-SVN: r83456
+2004-06-21 Steven G. Kargl <kargls@comcast.net>
+
+ * etime.c (etime_sub): Remove array rank check;
+ Add check for sufficient space.
+
2004-06-19 Bud Davis <bdavis9659@comcast.net>
PR gfortran/16080
tt = -1.;
#endif
- dim = GFC_DESCRIPTOR_RANK (t);
- if (dim != 1)
- runtime_error ("Array rank of TARRAY is not 1.");
+ if (((t->dim[0].ubound + 1 - t->dim[0].lbound)) < 2)
+ runtime_error ("Insufficient number of elements in TARRAY.");
if (t->dim[0].stride == 0)
t->dim[0].stride = 1;