------- Comment #5 from daney at gcc dot gnu dot org 2009-07-25 20:25 ------- Subject: Bug 40445
Author: daney Date: Sat Jul 25 20:25:18 2009 New Revision: 150090 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150090 Log: 2009-07-25 David Daney <dda...@caviumnetworks.com> PR rtl-optimization/40445 * emit-rtl.c (next_nonnote_insn_bb): New function. * rtl.h (next_nonnote_insn_bb): Declare new function. * cfgcleanup.c (try_optimize_cfg): Don't remove an empty block with no successors that is the successor of the ENTRY_BLOCK. Continue from the top after removing an empty fallthrough block. * cfgrtl.c (get_last_bb_insn): Call next_nonnote_insn_bb instead of next_nonnote_insn. 2009-07-25 David Daney <dda...@caviumnetworks.com> PR rtl-optimization/40445 * g++.dg/other/builtin-unreachable-1.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/other/builtin-unreachable-1.C Modified: trunk/gcc/ChangeLog trunk/gcc/cfgcleanup.c trunk/gcc/cfgrtl.c trunk/gcc/emit-rtl.c trunk/gcc/rtl.h trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40445