stmt.c: Use rtx_insn
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 21:46:30 +0000 (21:46 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2014 21:46:30 +0000 (21:46 +0000)
gcc/
2014-08-22  David Malcolm  <dmalcolm@redhat.com>

* stmt.c (expand_case): Strengthen local "before_case" from rtx to
rtx_insn *.
(expand_sjlj_dispatch_table): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214383 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/stmt.c

index cb930ce..51b9f9e 100644 (file)
@@ -1,5 +1,11 @@
 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
 
+       * stmt.c (expand_case): Strengthen local "before_case" from rtx to
+       rtx_insn *.
+       (expand_sjlj_dispatch_table): Likewise.
+
+2014-08-22  David Malcolm  <dmalcolm@redhat.com>
+
        * stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
        "insn" from rtx to rtx_insn *.
 
index 8e6d3a5..beafaa0 100644 (file)
@@ -1239,7 +1239,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
@@ -1283,7 +1283,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,