* intrinsics/unpack_generic.c (unpack_internal): Let the compiler
know that dim > 0 to avoid warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204940
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-11-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/51828
+ * intrinsics/unpack_generic.c (unpack_internal): Let the compiler
+ know that dim > 0 to avoid warnings.
+
2013-11-15 Janne Blomqvist <jb@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
if (empty)
return;
+ /* This assert makes sure GCC knows we can access *stride[0] later. */
+ assert (dim > 0);
+
vstride0 = GFC_DESCRIPTOR_STRIDE_BYTES(vector,0);
rstride0 = rstride[0];
fstride0 = fstride[0];