This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r150090 - in /trunk/gcc: ChangeLog cfgcleanup.c...
- From: daney at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 25 Jul 2009 20:25:19 -0000
- Subject: r150090 - in /trunk/gcc: ChangeLog cfgcleanup.c...
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 <ddaney@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 <ddaney@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