]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/62078 (ICE: verify_flow_info failed: missing REG_EH_REGION...
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Jan 2015 21:51:43 +0000 (22:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Jan 2015 21:51:43 +0000 (22:51 +0100)
commit6c5ed3f18ce31e71dc1089e8298c70fd2a0a08c2
tree12c988528c2bd3478ee358c3b7dbeff55a67e4da
parent31be63ab8c4def775c9ece0b6fa8d0fedc11bae4
re PR rtl-optimization/62078 (ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -fdelete-dead-exceptions)

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.

From-SVN: r219970
gcc/ChangeLog
gcc/dse.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr62078.C [new file with mode: 0644]