From: Corinna Vinschen Date: Fri, 3 Oct 2003 08:13:37 +0000 (+0000) Subject: * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8748518b95a4543d98477eec5a85fa9a037de209;p=binutils-gdb.git * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and reg_size to keep GCC silent. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2c502361830..7dfa1b10cee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-10-03 Corinna Vinschen + + * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and + reg_size to keep GCC silent. + 2003-10-03 Corinna Vinschen * dwarf2-frame.c (struct comp_unit): Add tbase member to store diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 60fe4b611ca..9d50fbde8ec 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -743,12 +743,12 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch, { int stack_offset = 0; int argreg = ARG0_REGNUM; - int flt_argreg; + int flt_argreg = 0; int argnum; struct type *type; CORE_ADDR regval; char *val; - int len, reg_size; + int len, reg_size = 0; int pass_on_stack; /* first force sp to a 4-byte alignment */