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 rtl-optimization/46212] [4.6 regression] segfault in reg_nonzero_bits_for_combine
Date: Wed, 03 Nov 2010 08:31:00 -0000	[thread overview]
Message-ID: <20101103083100.PD1aPUPpOVmtA-pKsJHHsM96bn3oGNosnERo-0I7kG8@z> (raw)
In-Reply-To: <bug-46212-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-03 08:30:29 UTC ---
Author: jakub
Date: Wed Nov  3 08:30:21 2010
New Revision: 166231

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166231
Log:
    PR rtl-optimization/46034
    PR rtl-optimization/46212
    PR rtl-optimization/46248
    * combine.c (try_combine): If added_sets_2 where i0dest_in_i0src
    and i0 feeds i1 and i1 feeds i2 or i0 feeds i2, make a copy of i1src
    before i0dest -> i0src substitution and pass 1 instead of 0 as last
    argument to subst on i2pat.

    * gcc.c-torture/compile/pr46034.c: New test.
    * gcc.c-torture/compile/pr46248.c: New test.
    * gcc.dg/pr46212.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr46034.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr46248.c
    trunk/gcc/testsuite/gcc.dg/pr46212.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2010-11-03  8:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 17:33 [Bug middle-end/46212] New: Segfault " rmansfield at qnx dot com
2010-10-28 17:37 ` [Bug middle-end/46212] " rmansfield at qnx dot com
2010-10-28 17:40 ` pinskia at gcc dot gnu.org
2010-10-28 18:45 ` rmansfield at qnx dot com
2010-10-29 12:46 ` [Bug rtl-optimization/46212] " ebotcazou at gcc dot gnu.org
2010-10-31 15:50 ` [Bug rtl-optimization/46212] [4.6 regression] segfault " hjl.tools at gmail dot com
2010-11-01 11:24 ` jakub at gcc dot gnu.org
2010-11-01 21:22 ` ebotcazou at gcc dot gnu.org
2010-11-03  8:31 ` jakub at gcc dot gnu.org [this message]
2010-11-03  8:45 ` 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=20101103083100.PD1aPUPpOVmtA-pKsJHHsM96bn3oGNosnERo-0I7kG8@z \
    --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).