(mark_set_resources): Fix two bugs in last change.

From-SVN: r1906
This commit is contained in:
Richard Kenner 1992-08-20 06:05:53 -04:00
parent f8d97cf472
commit d2c9e30fdb

View File

@ -412,12 +412,14 @@ mark_set_resources (x, res, in_dest, include_called_routine)
int in_dest;
int include_called_routine;
{
register enum rtx_code code = GET_CODE (x);
register enum rtx_code code;
register int i, j;
register char *format_ptr;
restart:
code = GET_CODE (x);
switch (code)
{
case NOTE:
@ -517,7 +519,7 @@ mark_set_resources (x, res, in_dest, include_called_routine)
}
mark_set_resources (XEXP (x, 0), res, 0, 0);
goto restart;
return;
case REG:
for (i = 0; i < HARD_REGNO_NREGS (REGNO (x), GET_MODE (x)); i++)