Commit e2110f8f by Thomas Schwinge Committed by Thomas Schwinge

Restore check for OpenMP for construct.

	gcc/
	* omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
	check for GF_OMP_FOR_KIND_FOR.

From-SVN: r208633
parent 7c831c4d
2014-03-18 Thomas Schwinge <thomas@codesourcery.com>
* omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
check for GF_OMP_FOR_KIND_FOR.
2013-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
* config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
......
......@@ -3672,7 +3672,7 @@ lower_rec_input_clauses (tree clauses, gimple_seq *ilist, gimple_seq *dlist,
/* Don't add any barrier for #pragma omp simd or
#pragma omp distribute. */
if (gimple_code (ctx->stmt) != GIMPLE_OMP_FOR
|| gimple_omp_for_kind (ctx->stmt) & GF_OMP_FOR_KIND_FOR)
|| gimple_omp_for_kind (ctx->stmt) == GF_OMP_FOR_KIND_FOR)
gimple_seq_add_stmt (ilist, build_omp_barrier (NULL_TREE));
}
......
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