PR rtl-optimization/62078
commit1f91a12d97e8edbf00f9b50d6d82646a20c78481
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jan 2015 21:51:43 +0000 (21 21:51 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jan 2015 21:51:43 +0000 (21 21:51 +0000)
tree12c988528c2bd3478ee358c3b7dbeff55a67e4da
parent20aad5bad6bb88ceeea14eb560ab844f67be0f4c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dse.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr62078.C [new file with mode: 0644]