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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:12:10 2018
New Revision: 258166

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

        PR tree-optimization/83605
        * gimple-ssa-strength-reduction.c: Include tree-eh.h.
        (find_candidates_dom_walker::before_dom_children): Ignore stmts that
        can throw.

        * gcc.dg/pr83605.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr83605.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimple-ssa-strength-reduction.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to