re PR fortran/42804 (ICE with -fcheck=bounds and type bound procedure call on array...
authorJanus Weil <janus@gcc.gnu.org>
Tue, 19 Jan 2010 22:21:35 +0000 (23:21 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 19 Jan 2010 22:21:35 +0000 (23:21 +0100)
commit63894de2a2b9c1520afee0622d4d87e81dd3f200
treed382be0f1d918295a14ae96f177d80806e1c2787
parent702a738bdbd231eb88fb12c3383e6443c7a5fe73
re PR fortran/42804 (ICE with -fcheck=bounds and type bound procedure call on array element)

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.
* gfortran.dg/typebound_call_12.f03: New test.

From-SVN: r156049
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_6.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_call_12.f03 [new file with mode: 0644]