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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 30 21:05:39 2019
New Revision: 270752

URL: https://gcc.gnu.org/viewcvs?rev=270752&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.
        (is_division_by_square): Likewise.  Formatting fix.

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

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

Reply via email to