re PR fortran/85507 (ICE in gfc_dep_resolver, at fortran/dependency.c:2258)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 6 May 2018 11:19:31 +0000 (13:19 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 6 May 2018 11:19:31 +0000 (13:19 +0200)
commit8309b221a0fce1cb7dc96d4e7df33bc761ccded9
tree873d3ba04d94f3b635230ef77e9c9eca6223c7cc
parent17b906c3b92907a387a61a35310b39675f9f5e00
re PR fortran/85507 (ICE in gfc_dep_resolver, at fortran/dependency.c:2258)

gcc/fortran/ChangeLog:

2018-05-06  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/85507
* dependency.c (gfc_dep_resolver): Revert looking at coarray dimension
introduced by r259385.
* trans-intrinsic.c (conv_caf_send): Always report a dependency for
same variables in coarray assignments.

gcc/testsuite/ChangeLog:

2018-05-06  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/85507
* gfortran.dg/coarray_dependency_1.f90: New test.
* gfortran.dg/coarray_lib_comm_1.f90: Fix counting caf-expressions.

From-SVN: r259974
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_dependency_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_lib_comm_1.f90