diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-21 20:12:30 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-21 20:12:30 +0000 |
commit | dbf944e5a00eb64efdce5d5af55da62bc27f145d (patch) | |
tree | 006990c1a8bb311473c46d2860701f02873e5730 | |
parent | a7e77bb7d1ebecf2946e27a65748a129589f96c7 (diff) | |
download | gcc-dbf944e5a00eb64efdce5d5af55da62bc27f145d.tar.gz |
asan.c: strengthen some rtx locals
gcc/
2014-08-21 David Malcolm <dmalcolm@redhat.com>
* asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
and "jump" from rtx to rtx_insn *. Strengthen local "top_label"
from rtx to rtx_code_label *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214284 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/asan.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e6551928841..4101ca1fe0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2014-08-21 David Malcolm <dmalcolm@redhat.com> + * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns" + and "jump" from rtx to rtx_insn *. Strengthen local "top_label" + from rtx to rtx_code_label *. + +2014-08-21 David Malcolm <dmalcolm@redhat.com> + * alias.c (init_alias_analysis): Strengthen local "insn" from rtx to rtx_insn *. diff --git a/gcc/asan.c b/gcc/asan.c index e073b01336f..58e77191d33 100644 --- a/gcc/asan.c +++ b/gcc/asan.c @@ -919,7 +919,9 @@ asan_shadow_cst (unsigned char shadow_bytes[4]) static void asan_clear_shadow (rtx shadow_mem, HOST_WIDE_INT len) { - rtx insn, insns, top_label, end, addr, tmp, jump; + rtx_insn *insn, *insns, *jump; + rtx_code_label *top_label; + rtx end, addr, tmp; start_sequence (); clear_storage (shadow_mem, GEN_INT (len), BLOCK_OP_NORMAL); |