Commit dd748704 by Richard Sandiford Committed by Richard Sandiford

Fix last commit.

From-SVN: r130654
parent 0b6e1647
2007-12-06 Richard Sandiford <rsandifo@nildram.co.uk> 2007-12-06 Richard Sandiford <rsandifo@nildram.co.uk>
* config/mips/mips.c (mips_function_ok_for_sibcall): Use * config/mips/mips.c (mips_function_ok_for_sibcall): Check
targetm.binds_local_p instead of DECL_EXTERNAL. targetm.binds_local_p as well as DECL_EXTERNAL.
2007-12-06 Harsha Jagasia <harsha.jagasia@amd.com> 2007-12-06 Harsha Jagasia <harsha.jagasia@amd.com>
...@@ -5616,7 +5616,7 @@ mips_function_ok_for_sibcall (tree decl, tree exp ATTRIBUTE_UNUSED) ...@@ -5616,7 +5616,7 @@ mips_function_ok_for_sibcall (tree decl, tree exp ATTRIBUTE_UNUSED)
us otherwise. */ us otherwise. */
if (TARGET_INTERLINK_MIPS16 if (TARGET_INTERLINK_MIPS16
&& decl && decl
&& !targetm.binds_local_p (decl) && (DECL_EXTERNAL (decl) || !targetm.binds_local_p (decl))
&& !mips_nomips16_decl_p (decl) && !mips_nomips16_decl_p (decl)
&& const_call_insn_operand (XEXP (DECL_RTL (decl), 0), VOIDmode)) && const_call_insn_operand (XEXP (DECL_RTL (decl), 0), VOIDmode))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment