Patchwork [gccgo] Initialize variables to avoid a warning

login
register
mail settings
Submitter Ian Taylor
Date Sept. 24, 2010, 5:57 p.m.
Message ID <mcr62xv10t5.fsf@google.com>
Download mbox | patch
Permalink /patch/65671/
State New
Headers show

Comments

Ian Taylor - Sept. 24, 2010, 5:57 p.m.
I committed this patch to the gccgo branch to initialize variables to
avoid a warning that breaks bootstrap.

Ian

Patch

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);