From: Richard Biener Date: Wed, 26 Feb 2014 08:39:48 +0000 (+0000) Subject: re PR ipa/60327 (xalanbmk and dealII ICE in ipa-inline-analysis.c:3555) X-Git-Tag: releases/gcc-4.9.0~660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477145c84a2732e69c2acc140e5c626f467b63a5;p=thirdparty%2Fgcc.git re PR ipa/60327 (xalanbmk and dealII ICE in ipa-inline-analysis.c:3555) 2014-02-26 Richard Biener PR ipa/60327 * ipa.c (walk_polymorphic_call_targets): Properly guard call to inline_update_overall_summary. From-SVN: r208167 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b4c2b97487b..32b7ffdaa47f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-02-26 Richard Biener + + PR ipa/60327 + * ipa.c (walk_polymorphic_call_targets): Properly guard + call to inline_update_overall_summary. + 2014-02-26 Bin Cheng PR target/60280 diff --git a/gcc/ipa.c b/gcc/ipa.c index b3b630643ba7..405ee644c365 100644 --- a/gcc/ipa.c +++ b/gcc/ipa.c @@ -223,10 +223,10 @@ walk_polymorphic_call_targets (pointer_set_t *reachable_call_targets, edge->caller->order, target->name (), target->order); edge = cgraph_make_edge_direct (edge, target); - if (!inline_summary_vec && edge->call_stmt) - cgraph_redirect_edge_call_stmt_to_callee (edge); - else + if (inline_summary_vec) inline_update_overall_summary (node); + else if (edge->call_stmt) + cgraph_redirect_edge_call_stmt_to_callee (edge); } } }