gcc/
* omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
check for GF_OMP_FOR_KIND_FOR.
From-SVN: r208633
+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
/* 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));
}