https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79236
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jan 26 11:05:03 2017 New Revision: 244924 URL: https://gcc.gnu.org/viewcvs?rev=244924&root=gcc&view=rev Log: PR middle-end/79236 * omp-low.c (struct omp_context): Add simt_stmt field. (scan_omp_for): Return omp_context *. (scan_omp_simd): Set simt_stmt on the non-_simt_ SIMD context to the _simt_ SIMD stmt. (lower_omp_for): For combined SIMD with sibling _simt_ SIMD, make sure to use the same decls in _looptemp_ clauses as in the sibling. Modified: trunk/gcc/ChangeLog trunk/gcc/omp-low.c