public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/44977] [4.4/4.5/4.6 Regression] ice in propagate_rhs_into_lhs, at tree-ssa-dom.c:2728
Date: Tue, 20 Jul 2010 11:20:00 -0000	[thread overview]
Message-ID: <20100720112003.4985.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44977-12544@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-07-20 11:20 -------
#1  0x0000000000aeab84 in propagate_rhs_into_lhs (stmt=0x7ffff5b4d370, 
    lhs=0x7ffff5afc738, rhs=0x7ffff5afc738, interesting_names=0x17b93c8)
    at /space/rguenther/src/svn/trunk/gcc/tree-ssa-dom.c:2728
2728          gcc_assert (!all || has_zero_uses (lhs));
(gdb) p all
$1 = 1 '\001'
(gdb) p lhs
(gdb) call debug_immediate_uses_for (lhs)
g_67.1_6 : --> single use.
g_67.1_6 = g_67.1_6;


We have

<bb 9>:
  # l_85_37 = PHI <0(9), 0(4)>
  # prephitmp.12_36 = PHI <g_67.1_6(9), g_67.1_7(4)>
  g_67.1_6 = prephitmp.12_36 ^ l_85_37;
  goto <bb 9>;

and eliminate_degenerate_phis replaces it with the above through the
intermediate

<bb 9>:
  # prephitmp.12_36 = PHI <g_67.1_6(9)>
  g_67.1_6 = prephitmp.12_36;
  goto <bb 9>;

I have a patch.


-- 


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


  parent reply	other threads:[~2010-07-20 11:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-18  6:28 [Bug c/44977] New: " regehr at cs dot utah dot edu
2010-07-18 14:43 ` [Bug c/44977] [4.4/4.5/4.6 Regression] " hjl dot tools at gmail dot com
2010-07-18 18:01 ` hjl dot tools at gmail dot com
2010-07-18 18:42 ` [Bug tree-optimization/44977] " rguenth at gcc dot gnu dot org
2010-07-20 11:20 ` rguenth at gcc dot gnu dot org [this message]
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
2010-07-20 12:45 ` [Bug tree-optimization/44977] [4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
2010-07-27 13:05 ` [Bug tree-optimization/44977] [4.4 " rguenth at gcc dot gnu dot org
2010-07-27 13:06 ` rguenth at gcc dot gnu dot 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=20100720112003.4985.qmail@sourceware.org \
    --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).