* doublest.c (store_floating): Avoid floatformat_from_doublest()

assertion failure by returning early after a warning.
This commit is contained in:
Kevin Buettner 2002-08-09 00:45:10 +00:00
parent 2bbd9c2554
commit b30590dca4
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-08-08 Kevin Buettner <kevinb@redhat.com>
* doublest.c (store_floating): Avoid floatformat_from_doublest()
assertion failure by returning early after a warning.
2002-08-08 Kevin Buettner <kevinb@redhat.com>
* mips-tdep.c (mips_find_saved_regs): Make static.

View File

@ -681,6 +681,7 @@ store_floating (void *addr, int len, DOUBLEST val)
{
warning ("Can't store a floating-point number of %d bytes.", len);
memset (addr, 0, len);
return;
}
floatformat_from_doublest (fmt, &val, addr);