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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:36:49 2019
New Revision: 275148

URL: https://gcc.gnu.org/viewcvs?rev=275148&root=gcc&view=rev
Log:
        Backported from mainline
        2019-04-16  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/90090
        * tree-ssa-math-opts.c (is_division_by): Ignore divisions that can
        throw internally.

        * g++.dg/opt/pr90090.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/opt/pr90090.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-ssa-math-opts.c

Reply via email to