diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f2dcfb766c..07fff87d34d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-04-08 Tobias Burnus + + * omp-grid.c (grid_eliminate_combined_simd_part): Use + OMP_CLAUSE_CODE to access the omp clause code. + 2020-04-07 Jeff Law PR rtl-optimization/92264 diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c index b98e45de6a0..ba635fd3ea2 100644 --- a/gcc/omp-grid.c +++ b/gcc/omp-grid.c @@ -1065,7 +1065,7 @@ grid_eliminate_combined_simd_part (gomp_for *parloop) while (*pc) { tree c = *pc; - switch (TREE_CODE (c)) + switch (OMP_CLAUSE_CODE (c)) { case OMP_CLAUSE_LINEAR: {