2018-12-16 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85314
* resolve.c (resolve_transfer): Remove dead code.
From-SVN: r267196
+2018-12-16 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * resolve.c (resolve_transfer): Remove dead code.
+
2018-12-16 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/88116
if (dt && dt->dt_io_kind->value.iokind != M_INQUIRE
&& (ts->type == BT_DERIVED || ts->type == BT_CLASS))
{
- if (ts->type == BT_DERIVED || ts->type == BT_CLASS)
- derived = ts->u.derived;
- else
- derived = ts->u.derived->components->ts.u.derived;
+ derived = ts->u.derived;
/* Determine when to use the formatted DTIO procedure. */
if (dt && (dt->format_expr || dt->format_label))