This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gccgo] Initialize variables to avoid a warning
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Fri, 24 Sep 2010 10:57:58 -0700
- Subject: [gccgo] Initialize variables to avoid a warning
I committed this patch to the gccgo branch to initialize variables to
avoid a warning that breaks bootstrap.
Ian
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c (revision 164383)
+++ config/i386/i386.c (working copy)
@@ -9393,7 +9393,8 @@ ix86_expand_split_stack_prologue (void)
HOST_WIDE_INT allocate;
int args_size;
rtx label, limit, current, jump_insn, allocate_rtx, call_insn, call_fusage;
- rtx scratch_reg, varargs_label;
+ rtx scratch_reg = NULL_RTX;
+ rtx varargs_label = NULL_RTX;
gcc_assert (flag_split_stack && reload_completed);