Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/pr95163.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/95163
3 ! Contributed by John Donners <[email protected]>
4 !
5 ! ICE in gimplify_adjust_omp_clauses with map and firstprivate on same
6 ! variable.
7
8 integer :: i
9 i = 1
10 !$omp target map(tofrom: i) firstprivate (i) ! { dg-error "present on both data and map clauses" }
11 i = i + 1
12 !$omp end target
13 end