re PR lto/45949 (ICE: SIGSEGV in gimple_default_def (tree-dfa.c:538) with -flto/-fwhopr on invalid code)
2010-11-30 Richard Guenther <rguenther@suse.de> PR lto/45949 * cgraphunit.c (ipa_passes): Stop after errors from small IPA passes. From-SVN: r167291
This commit is contained in:
parent
654e56c92e
commit
0430f80c2f
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-11-30 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/45949
|
||||
* cgraphunit.c (ipa_passes): Stop after errors from
|
||||
small IPA passes.
|
||||
|
||||
2010-11-30 Mingjie Xing <mingjie.xing@gmail.com>
|
||||
|
||||
* gcc-plugin.h: Include coretypes.h.
|
||||
|
|
|
@ -1707,7 +1707,11 @@ ipa_passes (void)
|
|||
invoke_plugin_callbacks (PLUGIN_ALL_IPA_PASSES_START, NULL);
|
||||
|
||||
if (!in_lto_p)
|
||||
execute_ipa_pass_list (all_small_ipa_passes);
|
||||
{
|
||||
execute_ipa_pass_list (all_small_ipa_passes);
|
||||
if (seen_error ())
|
||||
return;
|
||||
}
|
||||
|
||||
/* If pass_all_early_optimizations was not scheduled, the state of
|
||||
the cgraph will not be properly updated. Update it now. */
|
||||
|
|
Loading…
Add table
Reference in a new issue