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 target/52530] [4.8 regression] Many 64-bit execution failures on Solaris 10/11 with Sun as Date: Fri, 09 Mar 2012 15:17:00 -0000 [thread overview] Message-ID: <bug-52530-4-4SV3mmll2G@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52530-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52530 --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-03-09 15:17:07 UTC --- This patch works for me: --- diff --git a/gcc/ChangeLog.addr32 b/gcc/ChangeLog.addr32 index 066f1ec..a191e47 100644 --- a/gcc/ChangeLog.addr32 +++ b/gcc/ChangeLog.addr32 @@ -1,3 +1,8 @@ +2012-03-08 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/i386.c (ix86_print_operand_address): Only handle + zero-extended DImode addresses if Pmode == DImode. + 2012-03-06 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (*zero_extendsidi2_rex64): Allow loading diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 69cb6ae..c2cad5a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -14548,7 +14548,7 @@ ix86_print_operand_address (FILE *file, rtx addr) /* Print SImode registers for zero-extended addresses to force addr32 prefix. Otherwise print DImode registers to avoid it. */ - if (TARGET_64BIT) + if (Pmode == DImode) code = ((GET_CODE (addr) == ZERO_EXTEND || GET_CODE (addr) == AND) ? 'l' --
next prev parent reply other threads:[~2012-03-09 15:17 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-08 12:56 [Bug target/52530] New: " ro at gcc dot gnu.org 2012-03-08 13:50 ` [Bug target/52530] " ubizjak at gmail dot com 2012-03-08 15:07 ` hjl.tools at gmail dot com 2012-03-08 15:19 ` uros at gcc dot gnu.org 2012-03-08 18:17 ` ubizjak at gmail dot com 2012-03-09 14:55 ` ubizjak at gmail dot com 2012-03-09 15:17 ` hjl.tools at gmail dot com [this message] 2012-03-09 16:50 ` ubizjak at gmail dot com 2012-03-09 17:08 ` ubizjak at gmail dot com 2012-03-09 18:02 ` uros at gcc dot gnu.org 2012-03-11 19:49 ` uros at gcc dot gnu.org 2012-03-12 14:11 ` rguenth at gcc dot gnu.org 2012-08-01 19:15 ` uros 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-52530-4-4SV3mmll2G@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: linkBe 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).