From: Tobias Burnus Date: Wed, 8 Apr 2020 08:04:30 +0000 (+0200) Subject: Undo accidental commit to omp-grid.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54cb3baa82da64608ccb9a85b362b9c119c6247b;p=gcc.git 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. --- 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: {