https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Sep 10 07:38:30 2015 New Revision: 227614 URL: https://gcc.gnu.org/viewcvs?rev=227614&root=gcc&view=rev Log: PR c++/67514 * gimplify.c (gimplify_omp_for): For loop SIMD construct, if iterator is not explicitly determined, but is defined inside of the combined workshare region, handle it like if it has DECL_EXPR in OMP_FOR_PRE_BODY. * g++.dg/gomp/pr67514.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/gomp/pr67514.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gimplify.c branches/gcc-5-branch/gcc/testsuite/ChangeLog