mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 16:31:12 +08:00
darwin.c (machopic_indirect_data_reference): Use a scratch register when generating indirect address.
* config/darwin.c (machopic_indirect_data_reference): Use a scratch register when generating indirect address. From-SVN: r72473
This commit is contained in:
parent
42db0f21ef
commit
d9b46dfb99
@ -1,3 +1,8 @@
|
||||
2003-10-14 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* config/darwin.c (machopic_indirect_data_reference): Use a scratch
|
||||
register when generating indirect address.
|
||||
|
||||
2003-10-14 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* arm.c (arm_addimm_operand): MODE arguemnt is unused.
|
||||
|
@ -470,7 +470,7 @@ machopic_indirect_data_reference (rtx orig, rtx reg)
|
||||
#endif
|
||||
|
||||
#if defined (TARGET_TOC) /* i.e., PowerPC */
|
||||
rtx hi_sum_reg = reg;
|
||||
rtx hi_sum_reg = (no_new_pseudos ? reg : gen_reg_rtx (Pmode));
|
||||
|
||||
if (reg == NULL)
|
||||
abort ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user