[Bug fortran/59015] I/O of PARAMETER derived type with private component is forbidden

fxcoudert at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 6 09:45:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59015

--- Comment #2 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
We don't trigger the check in resolve.c:resolve_transfer() because we bail out
early:

  if (exp == NULL || (exp->expr_type != EXPR_VARIABLE
                      && exp->expr_type != EXPR_FUNCTION))
    return;

I'm testing a patch to allow EXPR_STRUCTURE to go through the checks.



More information about the Gcc-bugs mailing list