]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
regrename.c (replace_oldest_value_addr): Initialize a variable to shut up the compiler.
authorBernd Schmidt <bernd.schmidt@analog.com>
Mon, 27 Mar 2006 16:25:16 +0000 (16:25 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 27 Mar 2006 16:25:16 +0000 (16:25 +0000)
* regrename.c (replace_oldest_value_addr): Initialize a variable to
shut up the compiler.

From-SVN: r112423

gcc/ChangeLog
gcc/regrename.c

index 1e91e48899366563ee72917b61c5b64a27d7593b..4ccd08369404609a1b7f9f20611c3bae74b02fde 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-27  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * regrename.c (replace_oldest_value_addr): Initialize a variable to
+       shut up the compiler.
+
 2006-03-27  J"orn Rennecke <joern.rennecke@st.com>
 
        * config/sh/t-sh ($(T)libic_invalidate_array_4-100.a): Fix rule
index 8042f6b251990e81bb60b454c88576df3f15acbd..c55f9c4baebd26aad4ac204a1492fb3411bca80b 100644 (file)
@@ -1453,7 +1453,7 @@ replace_oldest_value_addr (rtx *loc, enum reg_class cl,
        rtx op1 = orig_op1;
        rtx *locI = NULL;
        rtx *locB = NULL;
-       enum rtx_code index_code;
+       enum rtx_code index_code = SCRATCH;
 
        if (GET_CODE (op0) == SUBREG)
          {