This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/65597] New: ICE in build_outer_var_ref, at omp-low.c:1043
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Mar 2015 09:55:13 +0000
- Subject: [Bug middle-end/65597] New: ICE in build_outer_var_ref, at omp-low.c:1043
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65597
Bug ID: 65597
Summary: ICE in build_outer_var_ref, at omp-low.c:1043
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: openmp
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
The following Fortran program causes an ICE with -fopenmp; it doesn't with
-fopenmp-simd nor does the equivalent C program ICE:
!$omp do simd collapse(1)
^
internal compiler error: in build_outer_var_ref, at omp-low.c:1206
0xaa0d0c build_outer_var_ref
../../gcc/omp-low.c:1206
0xaae1d1 lower_rec_input_clauses
../../gcc/omp-low.c:3959
0xab1c8a lower_omp_for
../../gcc/omp-low.c:10622
external foo
!$omp do simd collapse(1)
do i = 1, 151, 31
call foo();
end do
end