[Patch, Fortran] PR 56385: [4.6/4.7/4.8 Regression] [OOP] ICE with allocatable function result in a procedure-pointer component

Janus Weil janus@gcc.gnu.org
Wed Feb 20 22:23:00 GMT 2013


Hi all,

here is a straightforward patch which fixes a regression with
procedure-pointer components which have an allocatable result.
Regtests cleanly on x86_64-unknown-linux-gnu. Ok for trunk/4.7/4.6?

[In absence of any reviews I will commit as obvious on the weekend.]

Cheers,
Janus



2013-02-20  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/56385
    * trans-array.c (structure_alloc_comps): Handle procedure-pointer
    components with allocatable result.

2013-02-20  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/56385
    * gfortran.dg/proc_ptr_comp_37.f90: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr56385.diff
Type: application/octet-stream
Size: 1001 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130220/be06c8e6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proc_ptr_comp_37.f90
Type: application/octet-stream
Size: 625 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130220/be06c8e6/attachment-0001.obj>


More information about the Gcc-patches mailing list