https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78 commit r11-5897-ga2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78 Author: Jakub Jelinek <ja...@redhat.com> Date: Thu Dec 10 11:07:07 2020 +0100 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 <ja...@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.