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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
Like this:

diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c
index 9a4c6df..991a10b 100644
--- a/gcc/ipa-inline-analysis.c
+++ b/gcc/ipa-inline-analysis.c
@@ -1881,9 +1881,12 @@ compute_bb_predicates (struct cgraph_node *node,
         {
           if (!bb->aux)
         {
-          done = false;
-          bb->aux = pool_alloc (edge_predicate_pool);
-          *((struct predicate *) bb->aux) = p;
+          if (!get_abnormal_succ_dispatcher (bb))
+            {
+              done = false;
+              bb->aux = pool_alloc (edge_predicate_pool);
+              *((struct predicate *) bb->aux) = p;
+            }
         }
           else if (!predicates_equal_p (&p, (struct predicate *) bb->aux))
         {

Reply via email to