re PR fortran/44044 ([OOP] SELECT TYPE with class-valued function)
authorJanus Weil <janus@gcc.gnu.org>
Mon, 10 May 2010 12:54:25 +0000 (14:54 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 10 May 2010 12:54:25 +0000 (14:54 +0200)
commitf5dbb57cce8c2e929b60924ce4614f9d6d65dc44
treee563d36b6b1d235413284a75df8c5b7e88a33c68
parent571943de9aaa2135d90dc042f80081fc11d9761d
re PR fortran/44044 ([OOP] SELECT TYPE with class-valued function)

2010-05-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44044
* match.c (gfc_match_select_type): Move error message to
resolve_select_type.
* resolve.c (resolve_select_type): Error message moved here from
gfc_match_select_type. Correctly set type of temporary.

2010-05-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44044
* gfortran.dg/class_7.f03: Modified.
* gfortran.dg/select_type_1.f03: Modified.
* gfortran.dg/select_type_12.f03: New.

From-SVN: r159217
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_7.f03
gcc/testsuite/gfortran.dg/select_type_1.f03
gcc/testsuite/gfortran.dg/select_type_12.f03 [new file with mode: 0644]