re PR target/61387 (~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089)

2014-10-07  Iain Sandoe  <iain@codesourcery.com>

	    PR target/61387
	    * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.

From-SVN: r215983
This commit is contained in:
Iain Sandoe 2014-10-07 18:59:24 +00:00 committed by Mike Stump
parent 1743a52519
commit 07056cbafb
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-10-07 Iain Sandoe <iain@codesourcery.com>
PR target/61387
* config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
2014-10-07 Aldy Hernandez <aldyh@redhat.com>
* dwarf2out.c: Remove current_function_has_inlines.

View File

@ -38979,9 +38979,11 @@ x86_output_mi_thunk (FILE *file, tree, HOST_WIDE_INT delta,
{
if (sibcall_insn_operand (fnaddr, word_mode))
{
tmp = gen_rtx_CALL (VOIDmode, fnaddr, const0_rtx);
tmp = emit_call_insn (tmp);
SIBLING_CALL_P (tmp) = 1;
fnaddr = XEXP (DECL_RTL (function), 0);
tmp = gen_rtx_MEM (QImode, fnaddr);
tmp = gen_rtx_CALL (VOIDmode, tmp, const0_rtx);
tmp = emit_call_insn (tmp);
SIBLING_CALL_P (tmp) = 1;
}
else
emit_jump_insn (gen_indirect_jump (fnaddr));