This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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


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@gcc.gnu.org>
>
> 	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@gcc.gnu.org>
>
> 	PR fortran/40646
> 	* gfortran.dg/proc_ptr_22.f90: Extended.
> 	* gfortran.dg/proc_ptr_comp_12.f90: Extended.
>   


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