From: Richard Guenther Date: Thu, 8 Dec 2011 13:23:54 +0000 (+0000) Subject: re PR tree-optimization/49772 (ICE: in ipa_pta_execute, at tree-ssa-structalias.c... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1381811407eec3c8107b1f43622eb4816cd8f717;p=gcc.git re PR tree-optimization/49772 (ICE: in ipa_pta_execute, at tree-ssa-structalias.c:6790 with -fipa-pta) 2011-12-08 Richard Guenther PR tree-optimization/49772 * tree-inline.c (optimize_inline_calls): Remove bail out on errors. From-SVN: r182110 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b4eab59f5b..b8831739a94 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-12-08 Richard Guenther + + PR tree-optimization/49772 + * tree-inline.c (optimize_inline_calls): Remove bail out + on errors. + 2011-12-08 Richard Guenther PR lto/50747 diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 22604030d4a..13ad8153fa9 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -4216,12 +4216,6 @@ optimize_inline_calls (tree fn) struct gimplify_ctx gctx; bool inlined_p = false; - /* There is no point in performing inlining if errors have already - occurred -- and we might crash if we try to inline invalid - code. */ - if (seen_error ()) - return 0; - /* Clear out ID. */ memset (&id, 0, sizeof (id));