PR 42804: ICE with -fcheck=bounds and type bound procedure call on array element

Tobias Burnus burnus@net-b.de
Tue Jan 19 21:39:00 GMT 2010


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



More information about the Gcc-patches mailing list