From: Bernd Schmidt Date: Sat, 2 Dec 2000 09:55:48 +0000 (+0000) Subject: Fix multi-reg inheritance problems (only a fix small additional fix for yesterday... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88edcc062c5b4bca42ea4dc2f40c131e47022dad;p=gcc.git Fix multi-reg inheritance problems (only a fix small additional fix for yesterday's accidental checkin) From-SVN: r37946 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5411cdc0c2b..ee903e9bae4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-12-02 Bernd Schmidt + + * 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 * 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 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing diff --git a/gcc/reload1.c b/gcc/reload1.c index e0fa2b9adc3..1babaf7a74b 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;