arm.c (gen_operands_ldrd_strd): Initialize "base".
authorGreta Yorsh <greta.yorsh@arm.com>
Fri, 12 Apr 2013 14:19:10 +0000 (15:19 +0100)
committerGreta Yorsh <gretay@gcc.gnu.org>
Fri, 12 Apr 2013 14:19:10 +0000 (15:19 +0100)
2013-04-12  Greta Yorsh  <Greta.Yorsh@arm.com>

* config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base".

From-SVN: r197921

gcc/ChangeLog
gcc/config/arm/arm.c

index cf92ee9..100b145 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-12  Greta Yorsh  <Greta.Yorsh@arm.com>
+
+       * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base".
+
 2013-04-12  Richard Biener  <rguenther@suse.de>
 
        * tree-pass.h (TODO_do_not_ggc_collect): New.
index af95ac1..982487e 100644 (file)
@@ -12694,7 +12694,7 @@ gen_operands_ldrd_strd (rtx *operands, bool load,
 {
   int nops = 2;
   HOST_WIDE_INT offsets[2], offset;
-  rtx base;
+  rtx base = NULL_RTX;
   rtx cur_base, cur_offset, tmp;
   int i, gap;
   HARD_REG_SET regset;