gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [Patch, fortran] PR40646 - ICE assigning array return value from t

Subject: Re: [Patch, fortran] PR40646 - ICE assigning array return value from type-bound procedure
From: Tobias Burnus
Date: Mon, 13 Jul 2009 14:12:51 +0200
Janus Weil wrote:
>> Ok, here is a rather complete patch, which (mostly) fixes the PPC part
>> of the PR. Note that it fixes the attached versions of comment #2 and
>> #4, but still has problems with certain variations of them.
>>     
>
> Attached is a follow-up patch, which fixes the remaining issues (see
> comment #8 in the PR).
>
> Regression-tested on x86_64-unknown-linux-gnu. Ok for trunk?
>   

OK. Thanks for the patch.

Tobias

> 2009-07-13  Janus Weil  <janus@xxxxxxxxxxx>
>
>       PR fortran/40646
>       * module.c (mio_symbol): If the symbol has formal arguments,
>       the formal namespace will be present.
>       * resolve.c (resolve_actual_arglist): Correctly handle 'called'
>       procedure pointer components as actual arguments.
>       (resolve_fl_derived,resolve_symbol): Make sure the formal namespace
>       is present.
>       * trans-expr.c (gfc_conv_procedure_call): Correctly handle the formal
>       arguments of procedure pointer components.
>
>
> 2009-07-13  Janus Weil  <janus@xxxxxxxxxxx>
>
>       PR fortran/40646
>       * gfortran.dg/proc_ptr_22.f90: Extended.
>       * gfortran.dg/proc_ptr_comp_12.f90: Extended.
>   

<Prev in Thread] Current Thread [Next in Thread>