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
This commit is contained in:
parent
7c831c4d5a
commit
e2110f8f2f
@ -1,3 +1,8 @@
|
||||
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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user