* i386.h (INITIAL_ELIMINATION_OFFSET): Correctly test for PIC
register used.
From-SVN: r17153
+Fri Dec 19 10:02:57 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * i386.h (INITIAL_ELIMINATION_OFFSET): Correctly test for PIC
+ register used.
+
Fri Dec 19 09:50:30 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
* combine.c (simplify_rtx, case ABS): Don't get confused by a
\
for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++) \
if ((regs_ever_live[regno] && ! call_used_regs[regno]) \
- || (current_function_uses_pic_offset_table \
- && regno == PIC_OFFSET_TABLE_REGNUM)) \
+ || ((current_function_uses_pic_offset_table \
+ || current_function_uses_const_pool) \
+ && flag_pic && regno == PIC_OFFSET_TABLE_REGNUM)) \
offset += 4; \
\
(OFFSET) = offset + get_frame_size (); \