2009-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/40638
* trans-io.c (set_parameter_value): Don't build un-necessary run-time
checks for units of KIND less than 4.
From-SVN: r149220
+2009-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/40638
+ * trans-io.c (set_parameter_value): Don't build un-necessary run-time
+ checks for units of KIND less than 4.
+
2009-05-10 Paul Thomas <pault@gcc.gnu.org>
Backport from mainline:
gfc_conv_expr_val (&se, e);
/* If we're storing a UNIT number, we need to check it first. */
- if (type == IOPARM_common_unit && e->ts.kind != 4)
+ if (type == IOPARM_common_unit && e->ts.kind > 4)
{
tree cond, max;
int i;