diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c index ba635fd3ea2a..b98e45de6a0e 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 (OMP_CLAUSE_CODE (c)) + switch (TREE_CODE (c)) { case OMP_CLAUSE_LINEAR: {