re PR fortran/47352 ([F03] ICE with proc-pointers in generic procedures)
commitc79bb35514fb9ed2a63277bad7e71f0dd41664d7
authorJanus Weil <janus@gcc.gnu.org>
Wed, 9 Feb 2011 22:59:02 +0000 (9 23:59 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 9 Feb 2011 22:59:02 +0000 (9 23:59 +0100)
tree4dbcd292234b1adc3e966a8f6d085fca8d3f5686
parent2181e7141cf1f517868e4aa657ad04f95f37c258
re PR fortran/47352 ([F03] ICE with proc-pointers in generic procedures)

2011-02-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47352
* resolve.c (resolve_procedure_interface): If interface has a result
variable, copy the typespec and set result pointer to self.

2011-02-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47352
* gfortran.dg/proc_decl_25.f90: New.

From-SVN: r169987
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_decl_25.f90 [new file with mode: 0644]