[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
Thu Feb 21 12:37:00 GMT 2013


>> 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?
>
>
> OK thanks for the patch.

Thanks, Tobias! Committed to trunk as r196202. Will apply to 4.7 and
4.6 in a few days.

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.
>
>



More information about the Gcc-patches mailing list