public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/57864] [4.7 Regression] ICE in bitmap_set_replace_value, at tree-ssa-pre.c:862
Date: Tue, 06 May 2014 13:27:00 -0000	[thread overview]
Message-ID: <bug-57864-4-G1R09Umq7y@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57864-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Caused by

static pre_expr
phi_translate_1 (pre_expr expr, bitmap_set_t set1, bitmap_set_t set2,
                 basic_block pred, basic_block phiblock)
{
...
    case NAME:
      {
...
           if (TREE_CODE (def) == SSA_NAME)
              def = VN_INFO (def)->valnum;

picking up VN inserted expressions.  I re-wrote this as part of

2012-09-24  Richard Guenther  <rguenther@suse.de>

       * tree-ssa-pre.c (bitmap_find_leader, create_expression_by_pieces,
       find_or_generate_expression): Remove dominating stmt argument.
       (find_leader_in_sets, phi_translate_1, bitmap_find_leader,
       create_component_ref_by_pieces_1, create_component_ref_by_pieces,
       do_regular_insertion, do_partial_partial_insertion): Adjust.
       (compute_avail): Do not set uids.

and that fixed it.  I am going to try backporting that change in isolation.


  parent reply	other threads:[~2014-05-06 13:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 11:23 [Bug tree-optimization/57864] New: " j-1fabfe3bb3efc0eaf9750936b80a1c20 at sharpwave dot de
2013-07-09 17:10 ` [Bug tree-optimization/57864] " mikpe at it dot uu.se
2013-07-09 20:01 ` mikpe at it dot uu.se
2013-08-27 13:34 ` rguenth at gcc dot gnu.org
2014-05-06 12:49 ` rguenth at gcc dot gnu.org
2014-05-06 13:27 ` rguenth at gcc dot gnu.org [this message]
2014-05-07  8:04 ` rguenth at gcc dot gnu.org
2014-05-07  8:05 ` rguenth at gcc dot gnu.org
2014-05-07  8:06 ` rguenth at gcc dot gnu.org
2014-05-07  8:07 ` rguenth at gcc dot gnu.org
2014-05-07  8:07 ` rguenth 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-57864-4-G1R09Umq7y@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).