This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/67517] New: ICE in gimplify_scan_omp_clauses
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Sep 2015 12:32:17 +0000
- Subject: [Bug middle-end/67517] New: ICE in gimplify_scan_omp_clauses
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67517
Bug ID: 67517
Summary: ICE in gimplify_scan_omp_clauses
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
void
foo (int x)
{
int i;
#pragma omp parallel for simd linear (x: x)
for (i = 0; i < 10; ++i)
;
}
void
bar (int x, int y, int z)
{
int i;
#pragma omp parallel for simd linear (y : x) linear (x : 1) linear (z : x)
for (i = 0; i < 10; ++i)
;
}
ICEs, because the linear step expressions already contain the variable and make
it implicitly determined (shared in this case), while linear wants it to be
lastprivate on the for or parallel.