Commit ac2610bf by Adam Nemet Committed by Adam Nemet

predicates.md (const_call_insn_operand): Invoke SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.

	* config/mips/predicates.md (const_call_insn_operand): Invoke
	SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.

From-SVN: r127351
parent c749c2ee
2007-08-10 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/predicates.md (const_call_insn_operand): Invoke
SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.
2007-08-10 David Edelsohn <edelsohn@gnu.org> 2007-08-10 David Edelsohn <edelsohn@gnu.org>
PR target/33042 PR target/33042
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
/* If -mlong-calls or if this function has an explicit long_call /* If -mlong-calls or if this function has an explicit long_call
attribute, we must use register addressing. The attribute, we must use register addressing. The
SYMBOL_FLAG_LONG_CALL bit is set by mips_encode_section_info. */ SYMBOL_FLAG_LONG_CALL bit is set by mips_encode_section_info. */
return !SYMBOL_REF_LONG_CALL_P (op); return !(GET_CODE (op) == SYMBOL_REF && SYMBOL_REF_LONG_CALL_P (op));
case SYMBOL_GOT_DISP: case SYMBOL_GOT_DISP:
/* Without explicit relocs, there is no special syntax for /* Without explicit relocs, there is no special syntax for
......
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