re PR c/59984 (OpenMP pragma makes loop incorrect)
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. From-SVN: r207629
Showing
gcc/testsuite/gcc.dg/vect/pr59984.c
0 → 100644
Please
register
or
sign in
to comment