This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]