* config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
pointers as legitimate constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117057
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
op = XEXP (XEXP (op, 0), 0);
}
- if (any_offset_symbol_operand (op, GET_MODE (op)))
- return true;
+ 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;
return false;