regrename.c (scan_rtx_address): Initialize a variable to shut up the compiler.
authorBernd Schmidt <bernd.schmidt@analog.com>
Fri, 24 Mar 2006 15:53:23 +0000 (15:53 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 24 Mar 2006 15:53:23 +0000 (15:53 +0000)
* regrename.c (scan_rtx_address): Initialize a variable to shut up
the compiler.

From-SVN: r112350

gcc/ChangeLog
gcc/regrename.c

index 687eb46214bc4e6ed6eabc5eecce69c39f4ae98c..451eed3dbbe4695beb4c1cd1c2160bb62e1c86a6 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-24  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * regrename.c (scan_rtx_address): Initialize a variable to shut up
+       the compiler.
+
 2006-03-24  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/rs6000/rs6000-protos.h (rs6000_offsettable_memref_p): Declare.
index ebb7cbb5fab6595fdd4d15c2d4bf09adb369e655..8042f6b251990e81bb60b454c88576df3f15acbd 100644 (file)
@@ -529,7 +529,7 @@ scan_rtx_address (rtx insn, 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)
          {