Commit cca6b724 by Marek Polacek Committed by Marek Polacek

gimplify.c (gimplify_adjust_omp_clauses): Compare with 0 instead of 1.

	* gimplify.c (gimplify_adjust_omp_clauses): Compare with 0 instead of
	1.

From-SVN: r251142
parent 344be1fd
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
......
......@@ -8915,7 +8915,7 @@ gimplify_adjust_omp_clauses (gimple_seq *pre_p, gimple_seq body, tree *list_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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment