re PR target/15720 (function marked inline which is called directly isn't emitted)
2005-05-28 Andrew Pinski <pinskia@physics.uc.edu> PR target/15720 * config/darwin.c (machopic_indirect_call_target): Copy the SYMBOL_REF_DECL from the original RTX for the new stub RTX. From-SVN: r82414
This commit is contained in:
parent
b63e5497f3
commit
f935f97b9f
|
@ -1,3 +1,10 @@
|
|||
2005-05-28 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR target/15720
|
||||
* config/darwin.c (machopic_indirect_call_target): Copy
|
||||
the SYMBOL_REF_DECL from the original RTX for the new
|
||||
stub RTX.
|
||||
|
||||
2004-05-28 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* stor-layout.c (place_field): Revert erroneous commit.
|
||||
|
|
|
@ -583,8 +583,10 @@ machopic_indirect_call_target (rtx target)
|
|||
if (!machopic_name_defined_p (name))
|
||||
{
|
||||
const char *stub_name = machopic_stub_name (name);
|
||||
tree decl = SYMBOL_REF_DECL (XEXP (target, 0));
|
||||
|
||||
XEXP (target, 0) = gen_rtx_SYMBOL_REF (mode, stub_name);
|
||||
SYMBOL_REF_DECL (XEXP (target, 0)) = decl;
|
||||
RTX_UNCHANGING_P (target) = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue