From: David Malcolm Date: Thu, 21 Aug 2014 20:12:30 +0000 (+0000) Subject: asan.c: strengthen some rtx locals X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a965f615d5a2661d3aeb115613e931d809deff6;p=gcc.git asan.c: strengthen some rtx locals gcc/ 2014-08-21 David Malcolm * 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 *. From-SVN: r214284 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e6551928841..4101ca1fe0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-08-21 David Malcolm + + * 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 * alias.c (init_alias_analysis): Strengthen local "insn" from rtx 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);