aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.co.uk>2000-12-02 09:55:48 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2000-12-02 09:55:48 +0000
commit88edcc062c5b4bca42ea4dc2f40c131e47022dad (patch)
tree8f86e2f0f65f7d0e8bb427ae39e882768f19b790 /gcc
parent24187a0015b0490a692d4a022160cd0e71672f72 (diff)
downloadgcc-88edcc062c5b4bca42ea4dc2f40c131e47022dad.zip
gcc-88edcc062c5b4bca42ea4dc2f40c131e47022dad.tar.gz
gcc-88edcc062c5b4bca42ea4dc2f40c131e47022dad.tar.bz2
Fix multi-reg inheritance problems (only a fix small additional fix for yesterday's accidental checkin)
From-SVN: r37946
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/reload1.c2
2 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5411cdc..ee903e9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/reload1.c b/gcc/reload1.c
index e0fa2b9..1babaf7 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -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;