aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386.h
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-12-15 00:05:04 -0700
committerJeff Law <law@gcc.gnu.org>1997-12-15 00:05:04 -0700
commit6d8ccdbbb20cdff710cd6977165bde1d763f6a40 (patch)
treefff0335d1435c9b6e70f06bebdd1a98b6cfd22bc /gcc/config/i386/i386.h
parent7b8dd497414f0e8299a07ec4c2e81a78980b0bba (diff)
downloadgcc-6d8ccdbbb20cdff710cd6977165bde1d763f6a40.zip
gcc-6d8ccdbbb20cdff710cd6977165bde1d763f6a40.tar.gz
gcc-6d8ccdbbb20cdff710cd6977165bde1d763f6a40.tar.bz2
Bring over changes from latest gcc-2.8 pre-release.
Mirror sched.c change into haifa-sched.c From-SVN: r17097
Diffstat (limited to 'gcc/config/i386/i386.h')
-rw-r--r--gcc/config/i386/i386.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 9bfef4e..6fb08a1 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1524,8 +1524,9 @@ do { \
\
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 (); \