re PR fortran/47240 ([F03] segfault with procedure pointer component)
commit2d300fac7d9aaaa9f5cb63a44b3cfc130895324d
authorJanus Weil <janus@gcc.gnu.org>
Tue, 18 Jan 2011 22:40:33 +0000 (18 23:40 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 18 Jan 2011 22:40:33 +0000 (18 23:40 +0100)
treeebece8ac1cfec95a7fefd3af146ad3257b95f006
parentd2cd871faaa370e18d71e26bc92e25034bcbc05c
re PR fortran/47240 ([F03] segfault with procedure pointer component)

2011-01-18  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47240
* resolve.c (expression_rank): Fix rank of procedure poiner components.
* trans-expr.c (gfc_conv_procedure_call): Take care of procedure
pointer components as actual arguments.

2011-01-18  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47240
* gfortran.dg/proc_ptr_comp_29.f90: New.

From-SVN: r168973
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_29.f90 [new file with mode: 0644]