diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-12-10 11:07:07 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-01-06 10:38:37 +0100 |
commit | c925d4cebf817905c237aa2d93887f254b4a74f4 (patch) | |
tree | 4d02140b2dda72fe7aef309c718dc07497e12c0f /libgomp | |
parent | a9a0d654006df98dd2c29b907c83571819c49727 (diff) | |
download | gcc-c925d4cebf817905c237aa2d93887f254b4a74f4.zip gcc-c925d4cebf817905c237aa2d93887f254b4a74f4.tar.gz gcc-c925d4cebf817905c237aa2d93887f254b4a74f4.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.
(cherry picked from commit a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78)
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions