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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:11:05 2018
New Revision: 262052

URL: https://gcc.gnu.org/viewcvs?rev=262052&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-6-branch/gcc/testsuite/gcc.dg/pr83605.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gimple-ssa-strength-reduction.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to