re PR fortran/67451 ([F08] ICE with sourced allocation from coarray.)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Tue, 23 Feb 2016 10:29:26 +0000 (11:29 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Tue, 23 Feb 2016 10:29:26 +0000 (11:29 +0100)
commite457a6fc36cc3d4241c83ad4f74a6ed903376982
tree32dbc9ce729b00746995438b95c3c519e3e73efe
parentd7b574f4d2d1162db60fbeedbc908a2e7a9c6b14
re PR fortran/67451 ([F08] ICE with sourced allocation from coarray.)

gcc/testsuite/ChangeLog:

2016-02-23  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/67451
* gfortran.dg/coarray_allocate_5.f08: New test.

gcc/fortran/ChangeLog:

2016-02-23  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/67451
* trans-array.c (gfc_array_allocate): Take the attributes from the
expression to allocate and not from the source=-expression.

From-SVN: r233625
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_allocate_5.f08 [new file with mode: 0644]