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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:23:16 2019
New Revision: 275082

URL: https://gcc.gnu.org/viewcvs?rev=275082&root=gcc&view=rev
Log:
        Backported from mainline
        2018-12-21  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/85594
        PR middle-end/88553
        * omp-expand.c (extract_omp_for_update_vars): Regimplify the condition
        if needed.
        (expand_omp_for_generic): Don't clobber t temporary for ordered loops.

        * gcc.dg/gomp/pr85594.c: New test.
        * gcc.dg/gomp/pr88553.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr85594.c
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr88553.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/omp-expand.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to