re PR fortran/48699 ([OOP] MOVE_ALLOC inside SELECT TYPE)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 17 Jun 2011 20:03:04 +0000 (22:03 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 17 Jun 2011 20:03:04 +0000 (22:03 +0200)
commitb53abf71d275c3642dd65d4fdc98a0270fc5ee3c
treea4e3b9eae431c4fad9819921b6b9f7054d046fe7
parentf64a6f1ee58f3cffc81f97af23f8c0ea6d9307fc
re PR fortran/48699 ([OOP] MOVE_ALLOC inside SELECT TYPE)

2011-06-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48699
* check.c (gfc_check_move_alloc): If 'TO' argument is polymorphic,
make sure the vtab is present.

2011-06-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48699
* gfortran.dg/move_alloc_5.f90: New.

From-SVN: r175151
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/move_alloc_5.f90 [new file with mode: 0644]