[Bug fortran/81773] [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call.
vehre at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun May 6 12:23:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773
--- Comment #10 from vehre at gcc dot gnu.org ---
Author: vehre
Revision: 259978
Modified property: svn:log
Modified: svn:log at Sun May 6 12:20:52 2018
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Sun May 6 12:20:52 2018
@@ -1,25 +1,21 @@
gcc/fortran/ChangeLog:
-2018-04-28 Andre Vehreschild <vehre@gcc.gnu.org>
+2018-05-06 Andre Vehreschild <vehre@gcc.gnu.org>
- PR fortran/81773
- PR fortran/83606
- Backport from trunk
- * dependency.c (gfc_dep_resolver): Coarray indexes are to be ignored
- during dependency computation. They define no data dependency.
- * trans-array.c (conv_array_index_offset): The stride can not be set
- here, prevent fail.
- * trans-intrinsic.c (conv_caf_send): Add creation of temporary array
- for caf_get's result and copying to the array with vectorial
- indexing.
+ PR fortran/85507
+ Backport from trunk.
+ * 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-04-28 Andre Vehreschild <vehre@gcc.gnu.org>
+2018-05-06 Andre Vehreschild <vehre@gcc.gnu.org>
- PR fortran/81773
- PR fortran/83606
- Backport from trunk
- * gfortran.dg/coarray/get_to_indexed_array_1.f90: New test.
- * gfortran.dg/coarray/get_to_indirect_array.f90: New test.
+ PR fortran/85507
+ Backport from trunk.
+ * gfortran.dg/coarray_dependency_1.f90: New test.
+ * gfortran.dg/coarray_lib_comm_1.f90: Fix counting caf-expressions.
+
More information about the Gcc-bugs
mailing list