diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-22 21:46:30 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-22 21:46:30 +0000 |
commit | daf403511dbd3542fbcc81ed6f3b6ba2fd22280b (patch) | |
tree | 26a2251d2d430a0ad4109a76f642eb9ffaed08c2 | |
parent | 21f110ce8cf2636e632f0f462d94d8ff1ec07fce (diff) | |
download | gcc-daf403511dbd3542fbcc81ed6f3b6ba2fd22280b.zip gcc-daf403511dbd3542fbcc81ed6f3b6ba2fd22280b.tar.gz gcc-daf403511dbd3542fbcc81ed6f3b6ba2fd22280b.tar.bz2 |
stmt.c: Use rtx_insn
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.
From-SVN: r214383
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/stmt.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb930ce..51b9f9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 *. @@ -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, |