]> git.ipfire.org Git - thirdparty/gcc.git/commit
check.c (gfc_check_move_alloc): Allow nonpolymorphic FROM with polymorphic TO.
authorTobias Burnus <burnus@net-b.de>
Sat, 3 Dec 2011 11:03:30 +0000 (12:03 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Sat, 3 Dec 2011 11:03:30 +0000 (12:03 +0100)
commitfde50fe6afbf70fc1dfeb1f0c69e404c894bfd2c
treeda9bfc5a55ce02996170af86a28a72042901bfd9
parentdf1204ec90c671971a8da2e0551db3ffe5a6e567
check.c (gfc_check_move_alloc): Allow nonpolymorphic FROM with polymorphic TO.

2011-12-03  Tobias Burnus  <burnus@net-b.de>

        * check.c (gfc_check_move_alloc): Allow nonpolymorphic
        FROM with polymorphic TO.
        * trans-intrinsic.c (conv_intrinsic_move_alloc): Handle
        nonpolymorphic FROM with polymorphic TO.

2011-12-03  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/select_type_23.f03: Revert Rev. 181801,
        i.e. remove the dg-error line.
        * gfortran.dg/move_alloc_5.f90: Ditto and change back
        to dg-do run.
        * gfortran.dg/move_alloc_9.f90: New.
        * gfortran.dg/move_alloc_10.f90: New

From-SVN: r181966
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/move_alloc_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/move_alloc_5.f90
gcc/testsuite/gfortran.dg/move_alloc_9.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/select_type_23.f03