Commit 7ab62966 by Steve Ellcey Committed by Steve Ellcey

re PR target/28490 (ICE in ia64_expand_move, at config/ia64/ia64.c:1088)

	PR 28490
	* config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
	pointers as legitimate constants.

From-SVN: r117057
parent 758ed9b2
2006-09-19 Steve Ellcey <sje@cup.hp.com>
PR 28490
* config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
pointers as legitimate constants.
2006-09-19 Paul Brook <paul@codesourcery.com> 2006-09-19 Paul Brook <paul@codesourcery.com>
PR target/28516 PR target/28516
......
...@@ -831,8 +831,9 @@ ia64_legitimate_constant_p (rtx x) ...@@ -831,8 +831,9 @@ ia64_legitimate_constant_p (rtx x)
op = XEXP (XEXP (op, 0), 0); op = XEXP (XEXP (op, 0), 0);
} }
if (any_offset_symbol_operand (op, GET_MODE (op))) if (any_offset_symbol_operand (op, GET_MODE (op))
return true; || function_operand (op, GET_MODE (op)))
return true;
if (aligned_offset_symbol_operand (op, GET_MODE (op))) if (aligned_offset_symbol_operand (op, GET_MODE (op)))
return (addend & 0x3fff) == 0; return (addend & 0x3fff) == 0;
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