This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Jul 2014 09:26:44 +0000
- Subject: [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
- Auto-submitted: auto-generated
- References: <bug-61387-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387
--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is the following patch acceptable while waiting for a better understanding of
the problem?
--- ../_clean/gcc/config/i386/i386.c 2014-07-02 23:54:09.000000000 +0200
+++ gcc/config/i386/i386.c 2014-07-05 18:18:13.000000000 +0200
@@ -38899,7 +38899,7 @@ x86_output_mi_thunk (FILE *file,
because we're going to do no optimization. */
if (MEM_P (fnaddr))
{
- if (sibcall_insn_operand (fnaddr, word_mode))
+ if (sibcall_insn_operand (fnaddr, word_mode) && !TARGET_MACHO)
{
tmp = gen_rtx_CALL (VOIDmode, fnaddr, const0_rtx);
tmp = emit_call_insn (tmp);