From 8328efa35757478f4653c9c6857f33ab5bcfd7e5 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sat, 21 Aug 1999 00:54:22 +0000 Subject: Fix cse.c/resource.c register lifetime inconsistency. * resource.c (mark_target_live_regs): Use PIC_OFFSET_TABLE_REG_CALL_CLOBBERED. From-SVN: r28786 --- gcc/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/resource.c') diff --git a/gcc/resource.c b/gcc/resource.c index f49777e..d200f30 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -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 ) -- cgit v1.1