+2011-07-12 Richard Henderson <rth@redhat.com>
+
+ PR target/49714
+ * config/i386/i386.c (x86_output_mi_thunk): Fix mode for
+ destination address in memory on some paths.
+
2011-07-12 Bernd Schmidt <bernds@codesourcery.com>
* doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention
{
tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, fnaddr), UNSPEC_GOTPCREL);
tmp = gen_rtx_CONST (Pmode, tmp);
- fnaddr = gen_rtx_MEM (QImode, tmp);
+ fnaddr = gen_rtx_MEM (Pmode, tmp);
}
}
else
sym_ref = (gen_rtx_SYMBOL_REF
(Pmode,
machopic_indirection_name (sym_ref, /*stub_p=*/true)));
- fnaddr = gen_rtx_MEM (QImode, sym_ref);
+ fnaddr = gen_rtx_MEM (Pmode, sym_ref);
}
#endif /* TARGET_MACHO */
else