re PR fortran/65548 (gfc_conv_procedure_call)
authorAndre Vehreschild <vehre@gmx.de>
Wed, 20 May 2015 14:56:47 +0000 (16:56 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 20 May 2015 14:56:47 +0000 (16:56 +0200)
commitdb7ffcabaf01826192370231d15b64cc15958aeb
treedee189729a7ec482addf91fb61f0c9f279d87c7e
parentcf4ef6f7d4342aff9c7cefeb4bdcffc714806de9
re PR fortran/65548 (gfc_conv_procedure_call)

gcc/fortran/ChangeLog:

2015-05-19  Andre Vehreschild  <vehre@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  <vehre@gmx.de>

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

From-SVN: r223445
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_with_source_5.f90