From cddbddb790944ff97f7672401aed84cf583e5acb Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Tue, 3 Aug 2004 14:13:15 -0700 Subject: [PATCH] re PR bootstrap/16865 (False alarm about use of uninitialized variable breaks bootstrap at -O3) 2004-08-03 Andrew Pinski PR bootstrap/16865 * loop-iv.c (simplify_using_assignment): Initialize lhs. From-SVN: r85504 --- gcc/ChangeLog | 7 ++++++- gcc/loop-iv.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0af7f6c361..9b2fc027c26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,13 @@ +2004-08-03 Andrew Pinski + + PR bootstrap/16865 + * loop-iv.c (simplify_using_assignment): Initialize lhs. + 2004-08-03 Paul Brook * gcc/doc/install.texi: Document MPFR requirement. -2004-07-30 Maciej W. Rozycki +2004-08-03 Maciej W. Rozycki * aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for and mmap() explicitly instead of relying on preset autoconf cache diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 68b0013c06c..5feb0504312 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) -- 2.30.2