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/56484] [4.8 Regression] ICE in assign_by_spills, at lra-assigns.c:1268
Date: Tue, 05 Mar 2013 11:06:00 -0000	[thread overview]
Message-ID: <bug-56484-4-99NwoNb3mw@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-56484-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-05 11:06:26 UTC ---
Actually, looking more at this, I'd say combiner is innocent here, the problem
is earlier , during ce1 pass, which transforms:
   16: ax:SI=call [`output_play'] argc:0
      REG_DEAD di:DI
      REG_DEAD si:SI
   17: r60:SI=ax:SI
      REG_DEAD ax:SI
   18: flags:CCGOC=cmp(r59:SI,0)
   19: pc={(flags:CCGOC>=0)?L21:pc}
      REG_DEAD flags:CCGOC
      REG_BR_PROB 0x1c84
   20: NOTE_INSN_BASIC_BLOCK 4
    6: r60:SI=r59:SI
      REG_DEAD r59:SI
   21: L21:
   22: NOTE_INSN_BASIC_BLOCK 5
into:
   16: ax:SI=call [`output_play'] argc:0
      REG_DEAD di:DI
      REG_DEAD si:SI
   17: r60:SI=ax:SI
      REG_DEAD ax:SI
   18: flags:CCGOC=cmp(r59:SI,0)
   53: flags:CCGOC=cmp(r59:SI,0)
   54: r60:SI={(flags:CCGOC>=0)?ax:SI:r59:SI}
   22: NOTE_INSN_BASIC_BLOCK 4

i.e. does what combiner tries to avoid with hard registers.  I don't understand
why it can't use r60:SI instead of ax:SI.


  parent reply	other threads:[~2013-03-05 11:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 15:03 [Bug target/56484] New: " mgretton at gcc dot gnu.org
2013-02-28 15:23 ` [Bug target/56484] " doko at gcc dot gnu.org
2013-02-28 16:19 ` mgretton at gcc dot gnu.org
2013-03-01  7:04 ` venkataramanan.kumar at amd dot com
2013-03-01  8:31 ` [Bug target/56484] [4.8 Regression] " jakub at gcc dot gnu.org
2013-03-01  8:43 ` venkataramanan.kumar at amd dot com
2013-03-01 18:06 ` ubizjak at gmail dot com
2013-03-05 11:06 ` jakub at gcc dot gnu.org [this message]
2013-03-05 11:49 ` [Bug rtl-optimization/56484] " jakub at gcc dot gnu.org
2013-03-05 22:26 ` jakub at gcc dot gnu.org
2013-03-05 22:35 ` 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-56484-4-99NwoNb3mw@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).