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
This commit is contained in:
parent
758ed9b25f
commit
7ab629664b
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
PR target/28516
|
||||
|
@ -831,7 +831,8 @@ ia64_legitimate_constant_p (rtx x)
|
||||
op = XEXP (XEXP (op, 0), 0);
|
||||
}
|
||||
|
||||
if (any_offset_symbol_operand (op, GET_MODE (op)))
|
||||
if (any_offset_symbol_operand (op, GET_MODE (op))
|
||||
|| function_operand (op, GET_MODE (op)))
|
||||
return true;
|
||||
if (aligned_offset_symbol_operand (op, GET_MODE (op)))
|
||||
return (addend & 0x3fff) == 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user