cse.c (count_reg_usage): Count registers used in addresses of CLOBBERs.

* cse.c (count_reg_usage): Count registers used in addresses of
        CLOBBERs.

From-SVN: r21012
This commit is contained in:
Jeffrey A Law 1998-07-08 20:46:15 +00:00 committed by Jeff Law
parent d7f8f04755
commit 02e39abcc1
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Jul 8 21:43:14 1998 Jeffrey A Law (law@cygnus.com)
* cse.c (count_reg_usage): Count registers used in addresses of
CLOBBERs.
Wed Jul 8 15:08:29 1998 Jim Wilson <wilson@cygnus.com>
* Makefile.in (STAGESTUFF): Readd line lost during June 9 FSF merge.

View File

@ -8784,7 +8784,13 @@ count_reg_usage (x, counts, dest, incr)
case CONST_DOUBLE:
case SYMBOL_REF:
case LABEL_REF:
return;
case CLOBBER:
/* If we are clobbering a MEM, mark any registers inside the address
as being used. */
if (GET_CODE (XEXP (x, 0)) == MEM)
count_reg_usage (XEXP (XEXP (x, 0), 0), counts, NULL_RTX, incr);
return;
case SET: