* calls.c (expand_call): Convert structure_value_addr to Pmode if
necessary.
From-SVN: r67716
+2003-06-10 Steve Ellcey <sje@cup.hp.com>
+
+ * calls.c (expand_call): Convert structure_value_addr to Pmode if
+ necessary.
+
2003-06-10 Andrew Haley <aph@redhat.com>
* langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
structure value. */
if (pass != 0 && structure_value_addr && ! structure_value_addr_parm)
{
+#ifdef POINTERS_EXTEND_UNSIGNED
+ if (GET_MODE (structure_value_addr) != Pmode)
+ structure_value_addr = convert_memory_address
+ (Pmode, structure_value_addr);
+#endif
emit_move_insn (struct_value_rtx,
force_reg (Pmode,
force_operand (structure_value_addr,