]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/58388 (LTO profiledbootstrap fails in stage feedback for tree-ssa...
authorMartin Jambor <mjambor@suse.cz>
Fri, 13 Sep 2013 12:04:54 +0000 (14:04 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 13 Sep 2013 12:04:54 +0000 (14:04 +0200)
2013-09-13  Martin Jambor  <mjambor@suse.cz>

PR bootstrap/58388
* ipa-prop.c (try_make_edge_direct_simple_call): Be less strict in
the assert if the edge was a speculative one.

From-SVN: r202563

gcc/ChangeLog
gcc/ipa-prop.c

index a219a1a6759583553f077ae1f1fd91e4a6f8bd1d..213943da83f272e6c4eb5486fe43b606d843381b 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-13  Martin Jambor  <mjambor@suse.cz>
+
+       PR bootstrap/58388
+       * ipa-prop.c (try_make_edge_direct_simple_call): Be less strict in
+       the assert if the edge was a speculative one.
+
 2013-09-13  Richard Biener  <rguenther@suse.de>
 
        * tree-data-ref.h (known_dependences_p): Move here ...
index 9054d90658249d05ebf71b01ae9edcb9aaf65191..b511afd7ab9eaafbd2a1d844e3b601e2c899c00f 100644 (file)
@@ -2603,7 +2603,8 @@ try_make_edge_direct_simple_call (struct cgraph_edge *ie,
     {
       bool ok;
       gcc_checking_assert (cs->callee
-                          && (jfunc->type != IPA_JF_CONST
+                          && (cs != ie
+                              || jfunc->type != IPA_JF_CONST
                               || !cgraph_node_for_jfunc (jfunc)
                               || cs->callee == cgraph_node_for_jfunc (jfunc)));
       ok = try_decrement_rdesc_refcount (jfunc);