From: Teresa Johnson Date: Thu, 2 Oct 2014 20:30:11 +0000 (+0000) Subject: re PR middle-end/63422 (ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbc05e6aeb41b2636b429c5341e8260723ff29a3;p=gcc.git re PR middle-end/63422 (ICE in freqs_to_counts_path, at tree-ssa-threadupdate.c:981) 2014-10-01 Teresa Johnson PR middle-end/63422 * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove asserts to handle incoming insanities. From-SVN: r215822 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e330d18ae4b..bbdef99c7e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-10-02 Teresa Johnson + + PR middle-end/63422 + * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove + asserts to handle incoming insanities. + 2014-10-02 Martin Jambor PR tree-optimization/63375 diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index 2a8e005efd4..e3e77cf2558 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -977,20 +977,14 @@ freqs_to_counts_path (struct redirection_data *rd) edge ein; edge_iterator ei; FOR_EACH_EDGE (ein, ei, e->dest->preds) - { - gcc_assert (!ein->count); - ein->count = EDGE_FREQUENCY (ein); - } + ein->count = EDGE_FREQUENCY (ein); for (unsigned int i = 1; i < path->length (); i++) { edge epath = (*path)[i]->e; - gcc_assert (!epath->count); edge esucc; FOR_EACH_EDGE (esucc, ei, epath->src->succs) - { - esucc->count = EDGE_FREQUENCY (esucc); - } + esucc->count = EDGE_FREQUENCY (esucc); epath->src->count = epath->src->frequency; } }