diff options
author | Richard Biener <rguenther@suse.de> | 2014-02-26 08:39:48 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-02-26 08:39:48 +0000 |
commit | 477145c84a2732e69c2acc140e5c626f467b63a5 (patch) | |
tree | b377cb1efd16588a9b2190aa36c8436ccfd7cefe /gcc/ipa.c | |
parent | a3afdbb80906a5553a64f9ba7686a57d2f43f536 (diff) | |
download | gcc-477145c84a2732e69c2acc140e5c626f467b63a5.tar.gz |
re PR ipa/60327 (xalanbmk and dealII ICE in ipa-inline-analysis.c:3555)
2014-02-26 Richard Biener <rguenther@suse.de>
PR ipa/60327
* ipa.c (walk_polymorphic_call_targets): Properly guard
call to inline_update_overall_summary.
From-SVN: r208167
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c index b3b630643ba..405ee644c36 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); } } } |