asan.c: strengthen some rtx locals
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 21 Aug 2014 20:12:30 +0000 (20:12 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 21 Aug 2014 20:12:30 +0000 (20:12 +0000)
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 *.

From-SVN: r214284

gcc/ChangeLog
gcc/asan.c

index e655192..4101ca1 100644 (file)
@@ -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 *.
 
index e073b01..58e7719 100644 (file)
@@ -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);