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/53724] ICE when using the 'd' asm operand modifier
Date: Wed, 20 Jun 2012 12:38:00 -0000	[thread overview]
Message-ID: <bug-53724-4-nDBanr71bV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53724-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-20 12:38:12 UTC ---
Something like this

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e2f5740..0daf601 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -13879,7 +13879,8 @@ print_reg (rtx x, int code, FILE *file)
     case 32:
       if (SSE_REG_P (x))
     {
-      gcc_assert (!duplicated);
+      if (duplicated)
+        error ("unsupported `d' specifier on AVX register");
       putc ('y', file);
       fputs (hi_reg_name[REGNO (x)] + 1, file);
       return;


      parent reply	other threads:[~2012-06-20 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19 22:35 [Bug target/53724] New: " svfuerst at gmail dot com
2012-06-20  7:46 ` [Bug target/53724] " ubizjak at gmail dot com
2012-06-20  9:12 ` rguenth at gcc dot gnu.org
2012-06-20 12:25 ` hjl.tools at gmail dot com
2012-06-20 12:38 ` hjl.tools at gmail dot com [this message]

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-53724-4-nDBanr71bV@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).