re PR tree-optimization/49772 (ICE: in ipa_pta_execute, at tree-ssa-structalias.c:6790 with -fipa-pta)

2011-12-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/49772
	* tree-inline.c (optimize_inline_calls): Remove bail out
	on errors.

From-SVN: r182110
This commit is contained in:
Richard Guenther 2011-12-08 13:23:54 +00:00 committed by Richard Biener
parent cffef82595
commit 1381811407
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2011-12-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49772
* tree-inline.c (optimize_inline_calls): Remove bail out
on errors.
2011-12-08 Richard Guenther <rguenther@suse.de>
PR lto/50747

View File

@ -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));