re PR fortran/51306 (MOVE_ALLOC: Make more middle end friendlier)
authorTobias Burnus <burnus@net-b.de>
Tue, 29 Nov 2011 09:57:40 +0000 (10:57 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 29 Nov 2011 09:57:40 +0000 (10:57 +0100)
commite0516b0583fee75e60211cab19f6270eba510846
tree93cae4dfa48822ec55cc80035cf832c0303452b9
parent825298c450a51d78c311e1b629c520aa3f1688a6
re PR fortran/51306 (MOVE_ALLOC: Make more middle end friendlier)

2011-11-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51306
        PR fortran/48700
        * check.c (gfc_check_move_alloc): Make sure that from/to
        are both polymorphic or neither.
        * trans-intrinsic.c (conv_intrinsic_move_alloc): Cleanup,
        generate inline code.

2011-11-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51306
        PR fortran/48700
        * gfortran.dg/move_alloc_5.f90: Add dg-error.
        * gfortran.dg/select_type_23.f03: Add dg-error.
        * gfortran.dg/move_alloc_6.f90: New.
        * gfortran.dg/move_alloc_7.f90: New.

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