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.fort...@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