https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71371
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Jun 1 14:29:04 2016 New Revision: 236995 URL: https://gcc.gnu.org/viewcvs?rev=236995&root=gcc&view=rev Log: PR middle-end/71371 * gimplify.c (gimplify_omp_for): Temporarily clear gimplify_omp_ctxp around creation of the temporary. * c-c++-common/gomp/pr71371.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/c-c++-common/gomp/pr71371.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/gimplify.c branches/gcc-6-branch/gcc/testsuite/ChangeLog