summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-25 20:25:18 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-25 20:25:18 +0000
commitc4d13c5c0535f2eba2ab5b5dee94666ff6dc7e60 (patch)
tree697b3a3928c509ec1d15830956e5fd590de886f9 /gcc/rtl.h
parent616b875f3e877e13c8ed17204b2c208bd6769e31 (diff)
downloadgcc-c4d13c5c0535f2eba2ab5b5dee94666ff6dc7e60.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150090 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 637c227ec12..d5ae561d3af 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1626,6 +1626,7 @@ extern rtx previous_insn (rtx);
extern rtx next_insn (rtx);
extern rtx prev_nonnote_insn (rtx);
extern rtx next_nonnote_insn (rtx);
+extern rtx next_nonnote_insn_bb (rtx);
extern rtx prev_real_insn (rtx);
extern rtx next_real_insn (rtx);
extern rtx prev_active_insn (rtx);