https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65548

--- Comment #38 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Wed May 20 14:56:47 2015
New Revision: 223445

URL: https://gcc.gnu.org/viewcvs?rev=223445&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2015-05-19  Andre Vehreschild  <ve...@gmx.de>

        PR fortran/65548
        * trans-stmt.c (gfc_trans_allocate): Always retrieve the
        descriptor or a reference to a source= expression for
        arrays and non-arrays, respectively.  Use a temporary
        symbol and gfc_trans_assignment for all source=
        assignments to allocated objects besides for class and
        derived types.

gcc/testsuite/ChangeLog:

2015-05-19  Andre Vehreschild  <ve...@gmx.de>

        PR fortran/65548
        * gfortran.dg/allocate_with_source_5.f90: Extend test.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/allocate_with_source_5.f90

Reply via email to