mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 21:31:19 +08:00
Fix cse.c/resource.c register lifetime inconsistency.
* resource.c (mark_target_live_regs): Use PIC_OFFSET_TABLE_REG_CALL_CLOBBERED. From-SVN: r28786
This commit is contained in:
parent
1f9a015e83
commit
8328efa357
@ -1,3 +1,8 @@
|
||||
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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user