diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1998-11-19 15:22:25 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1998-11-19 15:22:25 +0000 |
commit | 701d55e8d85980cb35f7ef6c42f48d835889fa4c (patch) | |
tree | cb1d6632fd76c4cc491d5f65c5c144a6353c272c | |
parent | 1c7f3673c0ad070f5be3b546df3a862af7b5034b (diff) | |
download | gcc-701d55e8d85980cb35f7ef6c42f48d835889fa4c.zip gcc-701d55e8d85980cb35f7ef6c42f48d835889fa4c.tar.gz gcc-701d55e8d85980cb35f7ef6c42f48d835889fa4c.tar.bz2 |
* Early auto_inc reloads don't conflict with outputs.
From-SVN: r23716
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/reload1.c | 3 |
2 files changed, 6 insertions, 1 deletions
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 <amylaar@cygnus.co.uk> + + * Early auto_inc reloads don't conflict with outputs. + Thu Nov 19 12:58:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * 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; } } |