public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ktietz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089
Date: Sun, 15 Jun 2014 19:44:00 -0000	[thread overview]
Message-ID: <bug-61387-4-xsxyPi1PDs@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61387-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61387

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #9 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Suggested patch for fixing direct fallout is below.  Nevertheless it seems that
darwin-target has here a general issue in legitimize address

Index: predicates.md
===================================================================
--- predicates.md       (Revision 211685)
+++ predicates.md       (Arbeitskopie)
@@ -74,7 +74,15 @@
 (define_predicate "sibcall_memory_operand"
   (match_operand 0 "memory_operand")
 {
-  return CONSTANT_P (XEXP (op, 0));
+  op = XEXP (op, 0);
+
+  if (TARGET_MACHO && TARGET_64BIT
+      && GET_CODE (op) == CONST
+      && GET_CODE (XEXP (op, 0)) == UNSPEC
+      && XINT (XEXP (op, 0), 1) == UNSPEC_GOTPCREL)
+    return false;
+
+  return CONSTANT_P (op);
 })

 ;; Match an SI or HImode register for a zero_extract.


  parent reply	other threads:[~2014-06-15 19:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-61387-4@http.gcc.gnu.org/bugzilla/>
2014-06-02  9:57 ` [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211088 iains at gcc dot gnu.org
2014-06-02 11:06 ` rguenth at gcc dot gnu.org
2014-06-02 11:59 ` iains at gcc dot gnu.org
2014-06-07  1:38 ` hp at gcc dot gnu.org
2014-06-14 10:55 ` dominiq at lps dot ens.fr
2014-06-15 15:20 ` dominiq at lps dot ens.fr
2014-06-15 19:44 ` ktietz at gcc dot gnu.org [this message]
2014-07-06  9:26 ` [Bug target/61387] [4.10 Regression] ~900 test failures on on x86_64-apple-darwin13 for g++ with -m64 after r211089 dominiq at lps dot ens.fr
2014-09-13 11:25 ` [Bug target/61387] [5 " fxcoudert at gcc dot gnu.org
2014-09-14 21:48 ` mrs at gcc dot gnu.org
2014-09-15  9:49 ` fxcoudert at gcc dot gnu.org
2014-10-07 19:00 ` mrs at gcc dot gnu.org
2014-10-07 19:01 ` mrs at gcc dot gnu.org
2014-10-07 19:04 ` fxcoudert at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61387-4-xsxyPi1PDs@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).