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

Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerhard.steinmetz.fortran@t
                   |                            |-online.de

--- Comment #3 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
A simplified version down the way from another source
with an allocatable variable appearing in a private clause :


$ cat z1.f90
program p
   integer, allocatable :: z
   integer :: i
   !$omp do private(z)
   do i = 1, 2
      z = i
   end do
end


$ gfortran-7-20161113 -fopenmp z1.f90
z1.f90:4:0:

    !$omp do private(z)

internal compiler error: in build_outer_var_ref, at omp-low.c:1361
0xb27aa2 build_outer_var_ref
        ../../gcc/omp-low.c:1361
0xb41f7a lower_rec_input_clauses
        ../../gcc/omp-low.c:4947
0xb486e9 lower_omp_for
        ../../gcc/omp-low.c:15196
0xb38856 lower_omp_1
        ../../gcc/omp-low.c:17106
0xb38856 lower_omp
        ../../gcc/omp-low.c:17243
0xb379ec lower_omp_1
        ../../gcc/omp-low.c:17082
0xb379ec lower_omp
        ../../gcc/omp-low.c:17243
0xb3838c lower_omp_1
        ../../gcc/omp-low.c:17091
0xb3838c lower_omp
        ../../gcc/omp-low.c:17243
0xb3f56f execute_lower_omp
        ../../gcc/omp-low.c:17978
0xb3f56f execute
        ../../gcc/omp-low.c:18015

Reply via email to