Commit 5756d08c by Richard Henderson Committed by Richard Henderson

re PR target/49714 (Revision 176128 introduced many ICEs in…

re PR target/49714 (Revision 176128  introduced many ICEs in insn_default_length, at config/i386/i386.md:600)

PR target/49714
        * config/i386/i386.c (x86_output_mi_thunk): Fix mode for
        destination address in memory on some paths.

From-SVN: r176208
parent 123148b5
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> 2011-07-12 Bernd Schmidt <bernds@codesourcery.com>
* doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention * doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention
......
...@@ -29399,7 +29399,7 @@ x86_output_mi_thunk (FILE *file, ...@@ -29399,7 +29399,7 @@ x86_output_mi_thunk (FILE *file,
{ {
tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, fnaddr), UNSPEC_GOTPCREL); tmp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, fnaddr), UNSPEC_GOTPCREL);
tmp = gen_rtx_CONST (Pmode, tmp); tmp = gen_rtx_CONST (Pmode, tmp);
fnaddr = gen_rtx_MEM (QImode, tmp); fnaddr = gen_rtx_MEM (Pmode, tmp);
} }
} }
else else
...@@ -29414,7 +29414,7 @@ x86_output_mi_thunk (FILE *file, ...@@ -29414,7 +29414,7 @@ x86_output_mi_thunk (FILE *file,
sym_ref = (gen_rtx_SYMBOL_REF sym_ref = (gen_rtx_SYMBOL_REF
(Pmode, (Pmode,
machopic_indirection_name (sym_ref, /*stub_p=*/true))); 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 */ #endif /* TARGET_MACHO */
else else
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment