aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-11-21 03:30:34 +0000
committerBen Elliston <bje@gcc.gnu.org>2006-11-21 14:30:34 +1100
commitb509487e8855a198e2fd7b40316b6d124ef3afc4 (patch)
tree3e3448d2696d7ab9899d5c6463eff2c41448bc23 /gcc
parent83cc06b2b87080d8cf835267ea7ec24f38945269 (diff)
downloadgcc-b509487e8855a198e2fd7b40316b6d124ef3afc4.zip
gcc-b509487e8855a198e2fd7b40316b6d124ef3afc4.tar.gz
gcc-b509487e8855a198e2fd7b40316b6d124ef3afc4.tar.bz2
* config/spu/spu.c (spu_expand_vector_init): Initialise x.
From-SVN: r119043
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/spu/spu.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 31b26fd..d7b9a40 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-21 Ben Elliston <bje@au.ibm.com>
+
+ * config/spu/spu.c (spu_expand_vector_init): Initialise x.
+
2006-11-20 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
Russell Olsen <Russell_Olsen@playstation.sony.com>
Dmitri Makarov <Dmitri_Makarov@playstation.sony.com>
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index 99a0ac8..fc0ed19 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -4395,7 +4395,7 @@ spu_expand_vector_init (rtx target, rtx vals)
int n_elts = GET_MODE_NUNITS (mode);
int n_var = 0;
bool all_same = true;
- rtx first, x, first_constant = NULL_RTX;
+ rtx first, x = NULL_RTX, first_constant = NULL_RTX;
int i;
first = XVECEXP (vals, 0, 0);