From 34cf8af6e7e136521795e72fcf28f73ddd367ad9 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 24 Jun 2014 16:42:36 -0400 Subject: [PATCH 118/236] stmt.c: Use rtx_insn gcc/ * stmt.c (expand_case): Strengthen local "before_case" from rtx to rtx_insn *. (expand_sjlj_dispatch_table): Likewise. --- gcc/stmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/stmt.c b/gcc/stmt.c index 722d34f..af74142 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -1260,7 +1260,7 @@ expand_case (gimple stmt) type, so we should never get a zero here. */ gcc_assert (count > 0); - rtx before_case = get_last_insn (); + rtx_insn *before_case = get_last_insn (); /* Decide how to expand this switch. The two options at this point are a dispatch table (casesi or @@ -1304,7 +1304,7 @@ expand_sjlj_dispatch_table (rtx dispatch_index, int ncases = dispatch_table.length (); do_pending_stack_adjust (); - rtx before_case = get_last_insn (); + rtx_insn *before_case = get_last_insn (); /* Expand as a decrement-chain if there are 5 or fewer dispatch labels. This covers more than 98% of the cases in libjava, -- 1.8.5.3