aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gcc.gnu.org>2004-08-03 14:13:15 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-08-03 14:13:15 -0700
commitcddbddb790944ff97f7672401aed84cf583e5acb (patch)
treee69f1411e8fa9f5a3f5d4ec03176474cffa47bd9 /gcc
parentbebf829d88d1bc57f2153ceb4f45fb2ce100b1d9 (diff)
downloadgcc-cddbddb790944ff97f7672401aed84cf583e5acb.zip
gcc-cddbddb790944ff97f7672401aed84cf583e5acb.tar.gz
gcc-cddbddb790944ff97f7672401aed84cf583e5acb.tar.bz2
re PR bootstrap/16865 (False alarm about use of uninitialized variable breaks bootstrap at -O3)
2004-08-03 Andrew Pinski <apinski@apple.com> PR bootstrap/16865 * loop-iv.c (simplify_using_assignment): Initialize lhs. From-SVN: r85504
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/loop-iv.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a0af7f6..9b2fc02 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,8 +1,13 @@
+2004-08-03 Andrew Pinski <apinski@apple.com>
+
+ PR bootstrap/16865
+ * loop-iv.c (simplify_using_assignment): Initialize lhs.
+
2004-08-03 Paul Brook <paul@codesourcery.com>
* gcc/doc/install.texi: Document MPFR requirement.
-2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
+2004-08-03 Maciej W. Rozycki <macro@linux-mips.org>
* aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c
index 68b0013..5feb050 100644
--- a/gcc/loop-iv.c
+++ b/gcc/loop-iv.c
@@ -1357,7 +1357,7 @@ static void
simplify_using_assignment (rtx insn, rtx *expr, regset altered)
{
rtx set = single_set (insn);
- rtx lhs, rhs;
+ rtx lhs = NULL_RTX, rhs;
bool ret = false;
if (set)