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