diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-12-10 11:07:07 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-12-10 11:07:07 +0100 |
commit | a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78 (patch) | |
tree | 9bd6939a389968ad65615ecccf63996fb4735910 /gcc/tree-data-ref.c | |
parent | 154e9b831b6fc7d8493b5b0d56b9c5cdeff968e9 (diff) | |
download | gcc-a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78.zip gcc-a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78.tar.gz gcc-a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78.tar.bz2 |
openmp: Fix ICE with broken doacross loop [PR98205]
If the loop body doesn't ever continue, we don't have a bb to insert the
updates. Fixed by not adding them at all in that case.
2020-12-10 Jakub Jelinek <jakub@redhat.com>
PR middle-end/98205
* omp-expand.c (expand_omp_for_generic): Fix up broken_loop handling.
* c-c++-common/gomp/doacross-4.c: New test.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions