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:
parent
d7f8f04755
commit
02e39abcc1
@ -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.
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user