https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67451
--- Comment #14 from vehre at gcc dot gnu.org --- Author: vehre Date: Tue Feb 23 10:29:26 2016 New Revision: 233625 URL: https://gcc.gnu.org/viewcvs?rev=233625&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2016-02-23 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/67451 * gfortran.dg/coarray_allocate_5.f08: New test. gcc/fortran/ChangeLog: 2016-02-23 Andre Vehreschild <ve...@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. Added: trunk/gcc/testsuite/gfortran.dg/coarray_allocate_5.f08 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/testsuite/ChangeLog