https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71705

            Bug ID: 71705
           Summary: ICE in lower_omp_target, at omp-low.c:16136
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

With a missing save attribute :


$ cat z1.f90
subroutine s
   real :: x
   x = 0.0
   !$omp target update to(x)
   !$omp target
   x = x + 1.0
   !$omp end target
end


$ gfortran-6 -g -O0 -Wall -fcheck=all -fopenmp -c z1.f90
z1.f90:4:0:

    !$omp target update to(x)

internal compiler error: in lower_omp_target, at omp-low.c:16135

Reply via email to