Commit 02e39abc by Jeffrey A Law Committed by Jeff Law

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
parent d7f8f047
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:
case CLOBBER:
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment