diff options
author | ams <ams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-20 11:14:38 +0000 |
---|---|---|
committer | ams <ams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-20 11:14:38 +0000 |
commit | 260e669e8b6e2b6c3b9c422a617e0e8e1f873cc0 (patch) | |
tree | 2d9f05dc440f7a83a7c9010772e45442652c54fa /gcc/reginfo.c | |
parent | d2e2a8963b73d654ef7f219472c47791f8d42136 (diff) | |
download | gcc-260e669e8b6e2b6c3b9c422a617e0e8e1f873cc0.tar.gz |
2010-08-20 Joseph Myers <joseph@codesourcery.com>
gcc/
* doc/tm.texi.in (PIC_OFFSET_TABLE_REG_CALL_CLOBBERED): Document to
be zero or nonzero.
* doc/tm.texi: Regenerate.
* defaults.h (PIC_OFFSET_TABLE_REG_CALL_CLOBBERED): Define.
* df-scan.c (df_get_exit_block_use_set), reginfo.c
(init_reg_sets_1), rtlanal.c (rtx_unstable_p, rtx_varies_p):
Handle new PIC_OFFSET_TABLE_REG_CALL_CLOBBERED semantics.
* config/ia64/ia64.h (PIC_OFFSET_TABLE_REG_CALL_CLOBBERED): Define
to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163399 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 1510ce84ec5..879f50b0825 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -495,10 +495,9 @@ init_reg_sets_1 (void) else if (i == ARG_POINTER_REGNUM && fixed_regs[i]) ; #endif -#ifndef PIC_OFFSET_TABLE_REG_CALL_CLOBBERED - else if (i == (unsigned) PIC_OFFSET_TABLE_REGNUM && fixed_regs[i]) + else if (!PIC_OFFSET_TABLE_REG_CALL_CLOBBERED + && i == (unsigned) PIC_OFFSET_TABLE_REGNUM && fixed_regs[i]) ; -#endif else if (CALL_REALLY_USED_REGNO_P (i)) { SET_HARD_REG_BIT (regs_invalidated_by_call, i); |