This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/61486] New: ICE with #pragma omp teams


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]