https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61486
Bug ID: 61486
Summary: ICE with #pragma omp teams
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Keywords: openmp
Severity: normal
Priority: P3
Component: middle-end
Assignee: jakub at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
int
foo (int *a)
{
int i, j = 0;
#pragma omp target teams distribute simd linear(i, j) map(a[:10])
for (i = 0; i < 10; i++)
a[i] = j++;
return i + j;
}
ICEs with -fopenmp in 4.9.0 or with the trunk.
