* sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and

reg_size to keep GCC silent.
This commit is contained in:
Corinna Vinschen 2003-10-03 08:13:37 +00:00
parent 0fd8504376
commit 8748518b95
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-10-03 Corinna Vinschen <vinschen@redhat.com>
* sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
reg_size to keep GCC silent.
2003-10-03 Corinna Vinschen <vinschen@redhat.com> 2003-10-03 Corinna Vinschen <vinschen@redhat.com>
* dwarf2-frame.c (struct comp_unit): Add tbase member to store * dwarf2-frame.c (struct comp_unit): Add tbase member to store

View File

@ -743,12 +743,12 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch,
{ {
int stack_offset = 0; int stack_offset = 0;
int argreg = ARG0_REGNUM; int argreg = ARG0_REGNUM;
int flt_argreg; int flt_argreg = 0;
int argnum; int argnum;
struct type *type; struct type *type;
CORE_ADDR regval; CORE_ADDR regval;
char *val; char *val;
int len, reg_size; int len, reg_size = 0;
int pass_on_stack; int pass_on_stack;
/* first force sp to a 4-byte alignment */ /* first force sp to a 4-byte alignment */