+2017-05-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io.c (gfc_resolve_dt): Fix returns to bool type.
+
2017-05-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/78659
gfc_error ("NAMELIST object %qs in namelist %qs at %L is "
"polymorphic and requires a defined input/output "
"procedure", n->sym->name, dt->namelist->name, loc);
- return 1;
+ return false;
}
if ((n->sym->ts.type == BT_DERIVED)
"namelist %qs at %L with ALLOCATABLE "
"or POINTER components", n->sym->name,
dt->namelist->name, loc))
- return 1;
+ return false;
if (!t)
{
"ALLOCATABLE or POINTER components and thus requires "
"a defined input/output procedure", n->sym->name,
dt->namelist->name, loc);
- return 1;
+ return false;
}
}
}