Commit d2c9e30f by Richard Kenner

(mark_set_resources): Fix two bugs in last change.

From-SVN: r1906
parent f8d97cf4
......@@ -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++)
......
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