Martin Jambor <jamborm at gcc dot> changed:

           What    |Removed                     |Added
                 CC|                            |jamborm at gcc dot

--- Comment #2 from Martin Jambor <jamborm at gcc dot> ---
Below is a slightly more reduced testcase, crashes with gcc -S -fopenmp.

From what I have gathered so far, we would like to issue an error from
the gimplifier about a non sharing of an artificial temporary variable
that has not DECL_NAME and thus segfault.

void lud_omp(float *a, int size)
     int i,j,k;
     float sum;
     for (i=0; i <size; i++) {
#pragma omp target
#pragma omp teams distribute parallel for default(none) \
         private(j,k,sum) shared(size,i,a)
         for (j=i+1;j<size; j++){

Reply via email to