aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2004-11-29 20:46:14 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-11-29 20:46:14 +0000
commit6be85b25c2fadc5c1912f4e664d075fa08fa3e15 (patch)
tree19ff7e4a9275ba4b32556d6dcb4edd68c18e5bf5 /gcc/stmt.c
parent5e23162d1a2ebf9f9a765f5d8c1c8a1b99a3dfa2 (diff)
downloadgcc-6be85b25c2fadc5c1912f4e664d075fa08fa3e15.zip
gcc-6be85b25c2fadc5c1912f4e664d075fa08fa3e15.tar.gz
gcc-6be85b25c2fadc5c1912f4e664d075fa08fa3e15.tar.bz2
cfgcleanup.c (outgoing_edges_match, [...]): Remove CASE_DROPS_THROUGH checks, it is never defined.
* cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Remove CASE_DROPS_THROUGH checks, it is never defined. * cfglyout.c (fixup_reorder_chain): Likewise. * cfgrtl.c (rtl_verify_flow_info): Likewise. * stmt.c (expand_case): Likewise. * cfgbuild.c (make_edges): Likewise. Also remove force_fallthru, it is now always 0. * system.h (CASE_DROPS_THROUGH): Poison. * doc/md.texi (casesi): Remove documentation of CASE_DROPS_THROUGH. * doc/tm.texi (casesi): Remove documentation of CASE_DROPS_THROUGH. * config/v850/v850.h: Remove commented out CASE_DROPS_THROUGH. From-SVN: r91488
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index e22ae5a..5e3f364 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -2553,14 +2553,8 @@ expand_case (tree exp)
emit_jump_insn (gen_rtx_ADDR_VEC (CASE_VECTOR_MODE,
gen_rtvec_v (ncases, labelvec)));
- /* If the case insn drops through the table,
- after the table we must jump to the default-label.
- Otherwise record no drop-through after the table. */
-#ifdef CASE_DROPS_THROUGH
- emit_jump (default_label);
-#else
+ /* Record no drop-through after the table. */
emit_barrier ();
-#endif
}
before_case = NEXT_INSN (before_case);