This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/71687] New: ICE in omp_add_variable, at gimplify.c:5821


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

            Bug ID: 71687
           Summary: ICE in omp_add_variable, at gimplify.c:5821
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

Using -fopenmp together with -fstack-arrays or -Ofast
for a test similar to pr49792 (also related to pr69281) :


$ cat z1.f90
subroutine s (n, x)
   integer :: n
   real :: x(n)
!$omp parallel
   x(1:n) = x(n:1:-1)
!$omp end parallel
end


$ gfortran-6 -fopenmp -fstack-arrays -c z1.f90
z1.f90:5:0:

    x(1:n) = x(n:1:-1)

internal compiler error: in omp_add_variable, at gimplify.c:5821

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]