Commit 6e7348c1 by Richard Kenner

*** empty log message ***

From-SVN: r270
parent a6113470
...@@ -273,6 +273,7 @@ mark_referenced_resources (x, res, include_called_routine) ...@@ -273,6 +273,7 @@ mark_referenced_resources (x, res, include_called_routine)
res->cc = 1; res->cc = 1;
return; return;
case UNSPEC_VOLATILE:
case ASM_INPUT: case ASM_INPUT:
/* Traditional asm's are always volatile. */ /* Traditional asm's are always volatile. */
res->volatil = 1; res->volatil = 1;
...@@ -2069,9 +2070,16 @@ mark_target_live_regs (target, res) ...@@ -2069,9 +2070,16 @@ mark_target_live_regs (target, res)
sp, ap, and fp. Do this before setting the result of the sp, ap, and fp. Do this before setting the result of the
call live. */ call live. */
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
if (call_used_regs[i] && ! fixed_regs[i] if (call_used_regs[i]
&& i != STACK_POINTER_REGNUM && i != FRAME_POINTER_REGNUM && i != STACK_POINTER_REGNUM && i != FRAME_POINTER_REGNUM
&& i != ARG_POINTER_REGNUM) && i != ARG_POINTER_REGNUM
#if ARG_POINTER_REGNUM != FRAME_POINTER_REGNUM
&& ! (i == ARG_POINTER_REGNUM && fixed_regs[i])
#endif
#ifdef PIC_OFFSET_TABLE_REGNUM
&& ! (i == PIC_OFFSET_TABLE_REGNUM && flag_pic)
#endif
)
CLEAR_HARD_REG_BIT (current_live_regs, i); CLEAR_HARD_REG_BIT (current_live_regs, 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