public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/57736] [4.8/4.9 Regression] ICE in emit_move_insn with __builtin_ia32_rdtsc
Date: Thu, 27 Jun 2013 19:22:00 -0000	[thread overview]
Message-ID: <bug-57736-4-pafKWghmOK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57736-4@http.gcc.gnu.org/bugzilla/>

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-06-27
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 30397
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30397&action=edit
gcc49-pr57736.patch

Untested fix.  If target == NULL and mode == VOIDmode, then this is a return
value ignored call.  Some of the calls like __builtin_nanq etc. are const and
thus will be optimized away even at -O0 when lhs is missing, but as rdtsc{,p}
and rdpmc aren't const/pure, they are kept.


  parent reply	other threads:[~2013-06-27 19:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 17:11 [Bug target/57736] New: " amonakov at gcc dot gnu.org
2013-06-27 17:13 ` [Bug target/57736] " amonakov at gcc dot gnu.org
2013-06-27 19:20 ` jakub at gcc dot gnu.org
2013-06-27 19:22 ` jakub at gcc dot gnu.org [this message]
2013-06-28 20:27 ` jakub 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-57736-4-pafKWghmOK@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).