Undo accidental commit to omp-grid.c
authorTobias Burnus <tobias@codesourcery.com>
Wed, 8 Apr 2020 08:04:30 +0000 (10:04 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 8 Apr 2020 08:04:30 +0000 (10:04 +0200)
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

index ba635fd3ea2a33ae1560ef5589aee2463e14c21e..b98e45de6a0e4c2273dce01896173cae2df89137 100644 (file)
@@ -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:
          {