Commit 8328efa3 by Jim Wilson Committed by Jim Wilson

Fix cse.c/resource.c register lifetime inconsistency.

	* resource.c (mark_target_live_regs): Use
	PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.

From-SVN: r28786
parent 1f9a015e
Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
* resource.c (mark_target_live_regs): Use
PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
......
......@@ -967,7 +967,7 @@ mark_target_live_regs (insns, target, res)
#if ARG_POINTER_REGNUM != FRAME_POINTER_REGNUM
&& ! (i == ARG_POINTER_REGNUM && fixed_regs[i])
#endif
#ifdef PIC_OFFSET_TABLE_REGNUM
#if defined (PIC_OFFSET_TABLE_REGNUM) && !defined (PIC_OFFSET_TABLE_REG_CALL_CLOBBERED)
&& ! (i == PIC_OFFSET_TABLE_REGNUM && flag_pic)
#endif
)
......
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