[Bug fortran/78027] New: ICE in new_oacc_loop_routine, at omp-low.c:19000

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Oct 18 16:59:00 GMT 2016


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

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

Affects version 6 and 7 at -Os, -O2, -O3 :


$ cat z1.f90
real function f()
   !$omp declare target(f)
   f = 1.
   !$acc parallel
   !$acc loop
   do i = 1, 8
   end do
   !$acc end parallel
   !$acc parallel
   !$acc loop
   do i = 1, 8
   end do
   !$acc end parallel
end


$ gfortran-7-20161016 -O2 -fopenmp -fopenacc -c z1.f90
z1.f90:4:0:

    !$acc parallel

internal compiler error: in new_oacc_loop_routine, at omp-low.c:19000
0xb0dda8 new_oacc_loop_routine
        ../../gcc/omp-low.c:19000
0xb0dda8 oacc_loop_discover_walk
        ../../gcc/omp-low.c:19139
0xb0dc90 oacc_loop_discover_walk
        ../../gcc/omp-low.c:19208
0xb0f98e oacc_loop_discovery
        ../../gcc/omp-low.c:19242
0xb0f98e execute_oacc_device_lower
        ../../gcc/omp-low.c:19654
0xb0f98e execute
        ../../gcc/omp-low.c:19860


More information about the Gcc-bugs mailing list