[gccgo] Initialize variables to avoid a warning

Submitted by Ian Taylor on Sept. 24, 2010, 5:57 p.m.

Details

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

Commit Message

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 hide | download patch | download mbox

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