]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/45420 ([OOP] polymorphic TBP call in a CLASS DEFAULT clause)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 27 Aug 2010 19:02:15 +0000 (21:02 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 27 Aug 2010 19:02:15 +0000 (21:02 +0200)
commitcbadd64af4764fe75658a20c229050453379841d
treec5eca6c196ed2d20080321871f9c09dfb0c08787
parentee1e5e63ec2e20eb118af50d2b29f4099b536d19
re PR fortran/45420 ([OOP] polymorphic TBP call in a CLASS DEFAULT clause)

2010-08-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45420
* match.c (select_type_set_tmp): Add the possibility to reset the
temporary to NULL.
(gfc_match_class_is): Reset the temporary in CLASS DEFAULT clauses.

2010-08-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45420
* gfortran.dg/select_type_15.f03: New.

From-SVN: r163594
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_15.f03 [new file with mode: 0644]