https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98205

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:a66e756ea9cf1ce8f2c73bd29bfe7ed785fae89a

commit r8-10868-ga66e756ea9cf1ce8f2c73bd29bfe7ed785fae89a
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.

    (cherry picked from commit c925d4cebf817905c237aa2d93887f254b4a74f4)

Reply via email to