Cleanup to remove warning about uninitialized variable "base" when compiling
arm.c.

Approved offline by Richard Earnshaw. Committed r197921.

gcc/

2013-04-12  Greta Yorsh  <greta.yo...@arm.com>

        * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base".
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index af95ac1..982487e 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -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;

Reply via email to