From: Thomas Schwinge Date: Tue, 18 Mar 2014 09:06:55 +0000 (+0100) Subject: Restore check for OpenMP for construct. X-Git-Tag: releases/gcc-4.9.0~420 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2110f8f2f75e6f30f7b5a5d94a65faeb9eb0629;p=thirdparty%2Fgcc.git Restore check for OpenMP for construct. gcc/ * omp-low.c (lower_rec_input_clauses) : Restore check for GF_OMP_FOR_KIND_FOR. From-SVN: r208633 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28ac7b6679a9..a657e062af29 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-03-18 Thomas Schwinge + + * omp-low.c (lower_rec_input_clauses) : Restore + check for GF_OMP_FOR_KIND_FOR. + 2013-03-18 Kirill Yukhin * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 24ef3c85e912..7cc398ea5c09 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -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)); }