re PR fortran/78505 ([F08] Coarray source allocation not synchronizing on oversubscri...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 9 Dec 2016 12:46:57 +0000 (13:46 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 9 Dec 2016 12:46:57 +0000 (13:46 +0100)
commitffaf9305aa0f0d4a4cc6cc8afa5444b94b2b67a0
tree8fe9dad2782867aa3c0da84852836bbebe934abc
parent39da58667d94ab210cb6918fb8f528aa6aabfbb2
re PR fortran/78505 ([F08] Coarray source allocation not synchronizing on oversubscribed cores)

gcc/fortran/ChangeLog:

2016-12-09  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/78505
* trans-stmt.c (gfc_trans_allocate): Add sync all after the execution
of the whole allocate-statement to adhere to the standard.

gcc/testsuite/ChangeLog:

2016-12-09  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/78505
* gfortran.dg/coarray_alloc_with_implicit_sync_1.f90: New test.

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