trans-stmt.c (gfc_trans_allocate): Add missing location information for e3rhs.
authorAndre Vehreschild <vehre@gmx.de>
Wed, 27 May 2015 08:48:51 +0000 (10:48 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 27 May 2015 08:48:51 +0000 (10:48 +0200)
commitd4cecb1341384edd198ca175e3561410afb6fe44
tree101902d8c62b4c315316bf2f38163574deedbad6
parent1716efeb6d3e9097e75143d9ef98f504856fd34d
trans-stmt.c (gfc_trans_allocate): Add missing location information for e3rhs.

gcc/fortran/ChangeLog:

2015-05-27  Andre Vehreschild  <vehre@gmx.de>

* trans-stmt.c (gfc_trans_allocate): Add missing location
information for e3rhs.

gcc/testsuite/ChangeLog:

2015-05-27  Andre Vehreschild  <vehre@gmx.de>

* gfortran.dg/allocate_with_source_5.f90: Correct errorneous
semantic.
* gfortran.dg/allocate_with_source_6.f90: New test.

From-SVN: r223738
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_with_source_5.f90
gcc/testsuite/gfortran.dg/allocate_with_source_6.f90 [new file with mode: 0644]