[Bug rtl-optimization/62078] [5 Regression] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -fdelete-dead-exceptions

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 21 21:52:00 GMT 2015


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 21 21:51:43 2015
New Revision: 219970

URL: https://gcc.gnu.org/viewcvs?rev=219970&root=gcc&view=rev
Log:
    PR rtl-optimization/62078
    * dse.c: Include cfgcleanup.h.
    (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
    anything call purge_all_dead_edges and cleanup_cfg at the end
    of the pass.

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

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr62078.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dse.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list