* gimplify.c (gimplify_adjust_omp_clauses): Compare with 0 instead of
1.
From-SVN: r251142
+2017-08-17 Marek Polacek <polacek@redhat.com>
+
+ * gimplify.c (gimplify_adjust_omp_clauses): Compare with 0 instead of
+ 1.
+
2017-08-17 Richard Biener <rguenther@suse.de>
* tree-vrp.c (vrp_int_const_binop): Do not set *overflow_p
OMP_CLAUSE_SHARED_READONLY (c) = 1;
else if (DECL_P (decl)
&& ((OMP_CLAUSE_CODE (c) == OMP_CLAUSE_SHARED
- && (n->value & GOVD_WRITTEN) != 1)
+ && (n->value & GOVD_WRITTEN) != 0)
|| (OMP_CLAUSE_CODE (c) == OMP_CLAUSE_LINEAR
&& !OMP_CLAUSE_LINEAR_NO_COPYOUT (c)))
&& omp_shared_to_firstprivate_optimizable_decl_p (decl))