diff mbox

[gccgo] Initialize variables to avoid a warning

Message ID mcr62xv10t5.fsf@google.com
State New
Headers show

Commit Message

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

Ian
diff mbox

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