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: PR 42804: ICE with -fcheck=bounds and type bound procedure call on array element


On 19.01.2010 22:34, Janus Weil wrote:
> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>   

The patch is OK, however, can you also include a test case for
type-bound procedures? Your file only contains a test case for
procedure-pointer components.

Thanks for quickly fixing the PR!

Tobias

> gcc/fortran/
> 2010-01-19  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/42804
> 	* resolve.c (extract_compcall_passed_object): Set locus for
> 	passed-object argument.
> 	(extract_ppc_passed_object): Set locus and correctly remove PPC
> 	reference.
>
> gcc/testsuite/
> 2010-01-19  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/42804
> 	* gfortran.dg/proc_ptr_comp_pass_6.f90: New test.
>   


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