https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Sep 10 07:31:14 2015 New Revision: 227607 URL: https://gcc.gnu.org/viewcvs?rev=227607&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: trunk/gcc/testsuite/g++.dg/gomp/pr67514.C Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog