re PR fortran/50401 (SIGSEGV in resolve_transfer)
commitf2ce74d1578c3a5c6be5fddeb842c5115eb002c8
authorJanus Weil <janus@gcc.gnu.org>
Thu, 15 Sep 2011 17:48:27 +0000 (15 19:48 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 15 Sep 2011 17:48:27 +0000 (15 19:48 +0200)
tree631a6e0f480743673c8c76432cd395c91d411ddc
parent5d248b41e343955bd4fdd274a351a3bb91203cc3
re PR fortran/50401 (SIGSEGV in resolve_transfer)

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

PR fortran/50401
* resolve.c (resolve_transfer): Check if component 'ref' is defined.

PR fortran/50403
* symbol.c (gfc_use_derived): Check if argument 'sym' is defined.

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

PR fortran/50401
PR fortran/50403
* gfortran.dg/function_types_3.f90: New.

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