From 23ccd46ee0011aea3e8dc8512b3e23b0958e56a4 Mon Sep 17 00:00:00 2001 From: amylaar Date: Thu, 19 Nov 1998 15:22:25 +0000 Subject: [PATCH] * Early auto_inc reloads don't conflict with outputs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23716 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/reload1.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29d0435..c33071f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Nov 19 23:20:59 1998 J"orn Rennecke + + * Early auto_inc reloads don't conflict with outputs. + Thu Nov 19 12:58:55 1998 Kaveh R. Ghazi * configure.in: Don't do AC_CHECK_HEADERS(wait.h sys/wait.h). diff --git a/gcc/reload1.c b/gcc/reload1.c index 1dff782..c6f81fa 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -5249,7 +5249,8 @@ reload_reg_free_for_value_p (regno, opnum, type, value, out, reloadnum, if ((time1 >= time2 && (! reload_in[i] || reload_out[i] || ! rtx_equal_p (reload_in[i], value))) - || (out && time2 >= MAX_RECOG_OPERANDS * 4 + 3)) + || (out && reload_out_reg[reloadnum] + && time2 >= MAX_RECOG_OPERANDS * 4 + 3)) return 0; } } -- 2.7.4