https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78505
--- Comment #3 from vehre at gcc dot gnu.org --- Author: vehre Date: Fri Dec 9 12:46:57 2016 New Revision: 243482 URL: https://gcc.gnu.org/viewcvs?rev=243482&root=gcc&view=rev Log: gcc/fortran/ChangeLog: 2016-12-09 Andre Vehreschild <ve...@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 <ve...@gcc.gnu.org> PR fortran/78505 * gfortran.dg/coarray_alloc_with_implicit_sync_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/coarray_alloc_with_implicit_sync_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog