aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-general.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-07-17 09:13:52 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2019-07-17 09:13:52 +0200
commitdfa6e5b43b9a801973f5c8be21e158586beb8056 (patch)
tree4d2e3b172e075283f702e5c5aa65409c28b3101c /gcc/omp-general.c
parent7eb5baff994b249c0fb5d913e6f7afa7b9fbbc63 (diff)
downloadgcc-dfa6e5b43b9a801973f5c8be21e158586beb8056.zip
gcc-dfa6e5b43b9a801973f5c8be21e158586beb8056.tar.gz
gcc-dfa6e5b43b9a801973f5c8be21e158586beb8056.tar.bz2
gimple.h (enum gf_mask): Remove GF_OMP_FOR_SIMD...
* gimple.h (enum gf_mask): Remove GF_OMP_FOR_SIMD, change GF_OMP_FOR_KIND_SIMD to a value serially after other kinds, divide GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_COMBINED, GF_OMP_FOR_COMBINED_INTO, GF_OMP_FOR_GRID_PHONY, GF_OMP_FOR_GRID_INTRA_GROUP and GF_OMP_FOR_GRID_GROUP_ITER by two. * omp-grid.c (grid_process_grid_body, grid_eliminate_combined_simd_part): Use GF_OMP_FOR_KIND_SIMD instead of GF_OMP_FOR_SIMD, don't test & GF_OMP_FOR_SIMD but == GF_OMP_FOR_KIND_SIMD. * omp-low.c (build_outer_var_ref, scan_sharing_clauses, check_omp_nesting_restrictions, scan_omp_1_stmt, lower_rec_input_clauses, lower_lastprivate_conditional_clauses, lower_lastprivate_clauses, lower_reduction_clauses, lower_omp_scan, omp_find_scan): Likewise. * omp-expand.c (expand_omp_for): Likewise. * omp-general.c (omp_extract_for_data): Likewise. From-SVN: r273544
Diffstat (limited to 'gcc/omp-general.c')
-rw-r--r--gcc/omp-general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/omp-general.c b/gcc/omp-general.c
index 8086f9a..66be94f 100644
--- a/gcc/omp-general.c
+++ b/gcc/omp-general.c
@@ -156,7 +156,7 @@ omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
int i;
struct omp_for_data_loop dummy_loop;
location_t loc = gimple_location (for_stmt);
- bool simd = gimple_omp_for_kind (for_stmt) & GF_OMP_FOR_SIMD;
+ bool simd = gimple_omp_for_kind (for_stmt) == GF_OMP_FOR_KIND_SIMD;
bool distribute = gimple_omp_for_kind (for_stmt)
== GF_OMP_FOR_KIND_DISTRIBUTE;
bool taskloop = gimple_omp_for_kind (for_stmt)