coarray_alloc_with_implicit_sync_2.f90: New test.
authorAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 18 Jan 2017 19:03:21 +0000 (20:03 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 18 Jan 2017 19:03:21 +0000 (20:03 +0100)
commit525a5e33b5c7baafd44ce91b4064148e99b4e97e
tree0e7b010f1a68af7ad7a71ad2014b55bb31002394
parent29dbb95abad227198858d6cbd0315eca7b27a821
coarray_alloc_with_implicit_sync_2.f90: New test.

gcc/testsuite/ChangeLog:

2017-01-18  Andre Vehreschild  <vehre@gcc.gnu.org>

* gfortran.dg/coarray_alloc_with_implicit_sync_2.f90: New test.

Also fixed date in gcc/testsuite/ChangeLog on my previous commit.

gcc/fortran/ChangeLog:

2017-01-18  Andre Vehreschild  <vehre@gcc.gnu.org>

* primary.c (caf_variable_attr): Improve figuring whether the current
component is the last one refed.
* trans-stmt.c (gfc_trans_allocate): Do not generate sync_all calls
when allocating pointer or allocatable components.

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