[Bug c/59984] OpenMP and Cilk Plus SIMD pragma makes loop incorrect
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 8 09:10:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59984
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Feb 8 09:10:14 2014
New Revision: 207629
URL: http://gcc.gnu.org/viewcvs?rev=207629&root=gcc&view=rev
Log:
PR c/59984
* gimplify.c (gimplify_bind_expr): In ORT_SIMD region
mark local addressable non-static vars as GOVD_PRIVATE
instead of GOVD_LOCAL.
* omp-low.c (lower_omp_for): Move gimple_bind_vars
and BLOCK_VARS of gimple_bind_block to new_stmt rather
than copying them.
* gcc.dg/vect/pr59984.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr59984.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/omp-low.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list