From 54cb3baa82da64608ccb9a85b362b9c119c6247b Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Wed, 8 Apr 2020 10:04:30 +0200 Subject: [PATCH] Undo accidental commit to omp-grid.c The following change accidentally got committed in the previous commit, r10-7614-g13e41d8b9d3d7598c72c38acc86a3d97046c8373, among the intended changes. Hence: Revert: gcc/ * omp-grid.c (grid_eliminate_combined_simd_part): Use OMP_CLAUSE_CODE to access the omp clause code. --- gcc/omp-grid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c index ba635fd3ea2..b98e45de6a0 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: { -- 2.30.2