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

--- 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:87d6dae308d604bad111b1c0bfea7835888eed8d

commit r11-2614-g87d6dae308d604bad111b1c0bfea7835888eed8d
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Sat Aug 8 11:07:09 2020 +0200

    openmp: Avoid floating point comparison at the end of bb with
-fnon-call-exceptions

    The following testcase ICEs with -fexceptions -fnon-call-exceptions because
    in that mode floating point comparisons should not be done at the end of bb
    in GIMPLE_COND.  Fixed by forcing it into a bool SSA_NAME and comparing
that against
    false.

    2020-08-08  Jakub Jelinek  <ja...@redhat.com>

            PR tree-optimization/96424
            * omp-expand.c: Include tree-eh.h.
            (expand_omp_for_init_vars): Handle -fexceptions
-fnon-call-exceptions
            by forcing floating point comparison into a bool temporary.

            * c-c++-common/gomp/pr96424.c: New test.

Reply via email to