[Patch, fortran] PR58771 - [4.7/4.8/4.9 Regression] ICE in transfer_expr, at fortran/trans-io.c:2164

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Nov 4 19:54:00 GMT 2013


Dear All,

When I first posted it in Bugzilla, I thought that this patch is too
kludgey by far.  However, it has grown on me and I now think that it
is the right thing to do.  The patch is self-explanatory.

Bootstrapped and regtested on FC17/x86_64 - OK for trunk and 4.7/4.8
with an appropriate delay?

Cheers

Paul

2013-11-04  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/58771
    * trans-io.c (transfer_expr): If the backend_decl for a derived
    type is missing, build it with gfc_typenode_for_spec.

2013-11-04  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/58771
    * gfortran.dg/derived_external_function_1.f90 : New test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr58771.diff
Type: text/x-patch
Size: 1540 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20131104/c8e131d9/attachment.bin>


More information about the Fortran mailing list