[Bug tree-optimization/50682] [4.7 Regression] ICE: SIGSEGV in main_block_label with -O2 -fnon-call-exceptions -ftracer
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 28 21:06:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50682
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 21:02:33 UTC ---
Author: jakub
Date: Mon Nov 28 21:02:27 2011
New Revision: 181785
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181785
Log:
PR tree-optimization/50682
* tree-eh.c (maybe_remove_unreachable_handlers): New function.
* tree-flow.h (maybe_remove_unreachable_handlers): New prototype.
* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Call it.
* g++.dg/opt/pr50682.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/opt/pr50682.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-eh.c
trunk/gcc/tree-flow.h
trunk/gcc/tree-optimize.c
More information about the Gcc-bugs
mailing list