public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/55093] [4.8 Regression] [x32] -maddress-mode=long failed
Date: Mon, 29 Oct 2012 00:45:00 -0000	[thread overview]
Message-ID: <bug-55093-4-gRApAVjWPv@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55093-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55093

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-10-29 00:44:53 UTC ---
I am testing this patch:

diff --git a/gcc/lra-eliminations.c b/gcc/lra-eliminations.c
index 2222d80..cbfbe7a 100644
--- a/gcc/lra-eliminations.c
+++ b/gcc/lra-eliminations.c
@@ -272,7 +272,7 @@ get_elimination (rtx reg)
   if ((hard_regno = REGNO (reg)) < 0 || hard_regno >= FIRST_PSEUDO_REGISTER)
     return NULL;
   if ((ep = elimination_map[hard_regno]) != NULL)
-    return ep->from_rtx != reg ? NULL : ep;
+    return ep->from != hard_regno ? NULL : ep;
   if ((offset = self_elim_offsets[hard_regno]) == 0)
     return NULL;
   /* This is an iteration to restore offsets just after HARD_REGNO


  parent reply	other threads:[~2012-10-29  0:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-27  0:16 [Bug rtl-optimization/55093] New: " hjl.tools at gmail dot com
2012-10-27  0:17 ` [Bug rtl-optimization/55093] " hjl.tools at gmail dot com
2012-10-27  0:19 ` hjl.tools at gmail dot com
2012-10-28  3:22 ` hjl.tools at gmail dot com
2012-10-29  0:11 ` hjl.tools at gmail dot com
2012-10-29  0:41 ` hjl.tools at gmail dot com
2012-10-29  0:45 ` hjl.tools at gmail dot com [this message]
2012-10-29  2:32 ` hjl.tools at gmail dot com
2012-10-30 22:57 ` hjl at gcc dot gnu.org
2012-10-31  1:35 ` hjl.tools at gmail dot com

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-55093-4-gRApAVjWPv@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).