re PR middle-end/67517 (ICE in gimplify_scan_omp_clauses)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Sep 2015 07:32:13 +0000 (09:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Sep 2015 07:32:13 +0000 (09:32 +0200)
commit2ee10f818d0ae2d421ff6df19923acf509d71721
treef887371c4dd5c08474c7e1690e8bbafffbc6e299
parent499c20bbe466b6c71bda3b2e3eee044e9364911c
re PR middle-end/67517 (ICE in gimplify_scan_omp_clauses)

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.

From-SVN: r227608
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr67517.c [new file with mode: 0644]