This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71687] New: ICE in omp_add_variable, at gimplify.c:5821
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jun 2016 18:39:34 +0000
- Subject: [Bug fortran/71687] New: ICE in omp_add_variable, at gimplify.c:5821
- Auto-submitted: auto-generated
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