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

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

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

commit r10-9219-gc925d4cebf817905c237aa2d93887f254b4a74f4
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 a2a17ae7d85e420db5fe0c7ab2f59a470e2c7a78)

Reply via email to