This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR40646 - ICE assigning array return value from type-bound procedure


Hi Paul,

> The attached is verging on obvious.
>
> Bootstrapped and regtested on FC9/x86_64 - OK for trunk?

In principle your patch looks ok.

One small question though: Is there a special reason for your second
hunk in gfc_trans_arrayfunc_assign? It should do exactly the same as
before, I think. Or do I miss something? I'm just curious, since I'm
the author of the code you're changing :)

Cheers,
Janus


> 2009-07-04 ?Paul Thomas ?<pault@gcc.gnu.org>
>
> ? ? ? ?PR fortran/40646
> ? ? ? ?* trans-expr.c (gfc_trans_arrayfunc_assign): Make sure that the
> ? ? ? ?esym field of the expression is filled and use is_proc_ptr_comp
> ? ? ? ?in the condition.
>
> 2009-07-04 ?Paul Thomas ?<pault@gcc.gnu.org>
>
> ? ? ? ?PR fortran/40646
> ? ? ? ?* gfortran.dg/func_assign_3.f90 : New test.
>
> --
> The knack of flying is learning how to throw yourself at the ground and miss.
> ? ? ? --Hitchhikers Guide to the Galaxy
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]