re PR fortran/48699 ([OOP] MOVE_ALLOC inside SELECT TYPE)
authorJanus Weil <janus@gcc.gnu.org>
Sat, 21 May 2011 19:12:51 +0000 (21:12 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 21 May 2011 19:12:51 +0000 (21:12 +0200)
commit43a9eec7c4ce367bd971617831372cc53bbeb85a
tree66a8f7f13d2a20bca57942c8ae10efacf9913fc5
parenta5dfec9a97f275141625257dbf1e36e9035b9ea7
re PR fortran/48699 ([OOP] MOVE_ALLOC inside SELECT TYPE)

2011-05-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48699
* match.c (select_type_set_tmp): Make the temporary ALLOCATABLE if the
selector is ALLOCATABLE.

2011-05-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48699
* gfortran.dg/select_type_23.f03: New.

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