+2018-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/io.h: Change declaration of vlist type to
+ gfc_full_array_i4 to eliminate warning for mismatched type.
+ * io/format.c ((parse_format_list): Use gfc_full_array_i4.
+ * io/io.h: Use gfc_full_array_i4.
+
2018-08-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/86704
{
/* We have parsed the complete vlist so initialize the
array descriptor and save it in the format node. */
- gfc_array_i4 *vp = tail->u.udf.vlist;
+ gfc_full_array_i4 *vp = tail->u.udf.vlist;
GFC_DESCRIPTOR_DATA(vp) = xmalloc (i * sizeof(GFC_INTEGER_4));
GFC_DIMENSION_SET(vp->dim[0],1, i, 1);
memcpy (GFC_DESCRIPTOR_DATA(vp), temp, i * sizeof(GFC_INTEGER_4));
{
char *string;
int string_len;
- gfc_array_i4 *vlist;
+ gfc_full_array_i4 *vlist;
}
udf; /* User Defined Format. */
/* Subroutine formatted_dtio (struct, unit, iotype, v_list, iostat,
iomsg, (_iotype), (_iomsg)) */
-typedef void (*formatted_dtio)(void *, GFC_INTEGER_4 *, char *, gfc_array_i4 *,
+typedef void (*formatted_dtio)(void *, GFC_INTEGER_4 *, char *,
+ gfc_full_array_i4 *,
GFC_INTEGER_4 *, char *,
gfc_charlen_type, gfc_charlen_type);