diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-04-08 11:54:29 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-04-08 11:54:29 +0200 |
commit | 4ed1ff7ecbfbaef0a6dfd116f562192f08c50bb7 (patch) | |
tree | d344b3268e7d2ee6a7451356774f2f13bea57a72 | |
parent | 54cb3baa82da64608ccb9a85b362b9c119c6247b (diff) | |
download | gcc-4ed1ff7ecbfbaef0a6dfd116f562192f08c50bb7.zip gcc-4ed1ff7ecbfbaef0a6dfd116f562192f08c50bb7.tar.gz gcc-4ed1ff7ecbfbaef0a6dfd116f562192f08c50bb7.tar.bz2 |
HSA: omp-grid.c – access proper clause code
* omp-grid.c (grid_eliminate_combined_simd_part): Use
OMP_CLAUSE_CODE to access the omp clause code.
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/omp-grid.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f2dcfb..07fff87 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-04-08 Tobias Burnus <tobias@codesourcery.com> + + * omp-grid.c (grid_eliminate_combined_simd_part): Use + OMP_CLAUSE_CODE to access the omp clause code. + 2020-04-07 Jeff Law <law@redhat.com> PR rtl-optimization/92264 diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c index b98e45d..ba635fd 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: { |