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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:41:25 2016
New Revision: 238094

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

        PR c++/70641
        * ipa-pure-const.c (pass_nothrow::execute): Call maybe_clean_eh_stmt
        on all recursive call stmts.  Return TODO_cleanup_cfg if any dead
        eh edges have been purged.

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

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/opt/pr70641.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/ipa-pure-const.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to