Fix multi-reg inheritance problems (only a fix small additional fix for yesterday's accidental checkin)

From-SVN: r37946
This commit is contained in:
Bernd Schmidt 2000-12-02 09:55:48 +00:00 committed by Bernd Schmidt
parent 24187a0015
commit 88edcc062c
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
* reload1.c (free_for_value_p): New function, frontend to
reload_reg_free_for_value_p. All callers of the latter now call
this function with an additional mode argument.
2000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* install.texi (Configurations): Remove obsolete documentation for
@ -143,10 +149,6 @@
(try_combine, can_combine_p, combinable_i3pat): Delete old
SMALL_REGISTER_CLASSES tests.
* reload1.c (free_for_value_p): New function, frontend to
reload_reg_free_for_value_p. All callers of the latter now call
this function with an additional mode argument.
2000-12-01 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.c (shiftcosts): Don't get INTVAL before testing

View File

@ -4905,7 +4905,7 @@ free_for_value_p (regno, mode, opnum, type, value, out, reloadnum,
{
int nregs = HARD_REGNO_NREGS (regno, mode);
while (nregs-- > 0)
if (! reload_reg_free_for_value_p (regno, opnum, type, value, out,
if (! reload_reg_free_for_value_p (regno + nregs, opnum, type, value, out,
reloadnum, ignore_address_reloads))
return 0;
return 1;