Backported from mainline
2017-06-02 Jakub Jelinek <jakub@redhat.com>
PR fortran/80918
* openmp.c (resolve_omp_clauses): Fix a typo.
* gfortran.dg/gomp/pr80918.f90: New test.
From-SVN: r249507
+2017-06-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 2017-06-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/80918
+ * openmp.c (resolve_omp_clauses): Fix a typo.
+
2017-06-09 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
else
resolve_oacc_data_clauses (n->sym, n->where, name);
}
- else if (list != OMP_CLAUSE_DEPEND
+ else if (list != OMP_LIST_DEPEND
&& n->sym->as
&& n->sym->as->type == AS_ASSUMED_SIZE)
gfc_error ("Assumed size array %qs in %s clause at %L",
+2017-06-22 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 2017-06-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/80918
+ * gfortran.dg/gomp/pr80918.f90: New test.
+
2017-06-22 Richard Biener <rguenther@suse.de>
Backport from mainline
--- /dev/null
+! PR fortran/80918
+! { dg-do compile }
+
+subroutine foo (a)
+ integer :: a(*)
+ !$omp task depend(inout:a)
+ !$omp end task
+ !$omp task depend(inout:a)
+ !$omp end task
+end subroutine foo