public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/58079] internal compiler error: in do_SUBST, at combine.c:711
Date: Tue, 06 Aug 2013 21:14:00 -0000	[thread overview]
Message-ID: <bug-58079-4-yxLlJqtXy1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58079-4@http.gcc.gnu.org/bugzilla/>

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

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |rsandifo at gcc dot gnu.org

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
(In reply to Mikael Pettersson from comment #3)
> Started with Uros' PR54457 patch in r191928.  I'm not sure if that patch was
> wrong or if it exposed a problem in the mips backend.

Looks like a latent combine bug that's being exposed by the better
subreg optimisation.  simplify_comparison is legitimately widening
a QImode comparison to SImode (since the target doesn't support
QImode comparisons), but combine_simplify_rtx is then trying to substitute
these widened values in-place, which trips the sanity check in do_SUBST.

I'm about to post a patch for comments.


  parent reply	other threads:[~2013-08-06 21:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-04 13:24 [Bug c/58079] New: " JuergenUrban at gmx dot de
2013-08-04 21:20 ` [Bug rtl-optimization/58079] " jbglaw@lug-owl.de
2013-08-05  8:42 ` mikpe at it dot uu.se
2013-08-05 12:05 ` mikpe at it dot uu.se
2013-08-06 21:14 ` rsandifo at gcc dot gnu.org [this message]
2013-08-08 18:45 ` rsandifo at gcc dot gnu.org
2013-08-08 18:49 ` rsandifo at gcc dot gnu.org
2013-09-14 20:12 ` danglin at gcc dot gnu.org
2013-09-28 16:18 ` steve at sk2 dot org
2013-10-28 16:04 ` ubizjak at gmail dot com
2013-10-29 15:44 ` [Bug rtl-optimization/58079] [4.8 Regression] " uros at gcc dot gnu.org
2013-10-29 16:06 ` ubizjak 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-58079-4-yxLlJqtXy1@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).