aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGreta Yorsh <greta.yorsh@arm.com>2013-04-12 15:19:10 +0100
committerGreta Yorsh <gretay@gcc.gnu.org>2013-04-12 15:19:10 +0100
commit41b83758ed976b4dc502dfd9dd0133602b718c4b (patch)
treeee7c53b38ab56833dd919a210a54a1603de544ae /gcc
parent5bd66d23fc0f477853f40b4d889ea29d77983f46 (diff)
downloadgcc-41b83758ed976b4dc502dfd9dd0133602b718c4b.zip
gcc-41b83758ed976b4dc502dfd9dd0133602b718c4b.tar.gz
gcc-41b83758ed976b4dc502dfd9dd0133602b718c4b.tar.bz2
arm.c (gen_operands_ldrd_strd): Initialize "base".
2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". From-SVN: r197921
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cf92ee9..100b145 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
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;