* pa.c (legitimize_pic_address): Force function labels to memory in
word mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140870
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-10-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR target/37603
+ * pa.c (legitimize_pic_address): Force function labels to memory in
+ word mode.
+
2008-10-04 Anton Blanchard <anton@samba.org>
* config/rs6000/rs6000.c (rs6000_emit_sync): Use gen_lwsync().
if (function_label_operand (orig, mode))
{
- /* Force function label into memory. */
- orig = XEXP (force_const_mem (mode, orig), 0);
+ /* Force function label into memory in word mode. */
+ orig = XEXP (force_const_mem (word_mode, orig), 0);
/* Load plabel address from DLT. */
emit_move_insn (tmp_reg,
gen_rtx_PLUS (word_mode, pic_offset_table_rtx,