https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67517
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Sep 10 07:39:20 2015 New Revision: 227615 URL: https://gcc.gnu.org/viewcvs?rev=227615&root=gcc&view=rev Log: PR middle-end/67517 * gimplify.c (gimplify_scan_omp_clauses): Instead of asserting that decl is not specified in octx->variables, break out of the loop if it is. * c-c++-common/gomp/pr67517.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/c-c++-common/gomp/pr67517.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gimplify.c branches/gcc-5-branch/gcc/testsuite/ChangeLog