Commit 65179585 by Richard Biener Committed by Richard Biener

re PR lto/78129 (-Werror=suggest-final-types leads to -ENOSPC.)

2016-10-31  Richard Biener  <rguenther@suse.de>

	PR lto/78129
	* lto.c (do_whole_program_analysis): Bail out after errors
	from WPA analysis.

From-SVN: r241698
parent 4cecd659
2016-10-31 Richard Biener <rguenther@suse.de>
PR lto/78129
* lto.c (do_whole_program_analysis): Bail out after errors
from WPA analysis.
2016-09-21 Kugan Vivekanandarajah <kuganv@linaro.org> 2016-09-21 Kugan Vivekanandarajah <kuganv@linaro.org>
* lto-partition.c: Include tree-vrp.h. * lto-partition.c: Include tree-vrp.h.
......
...@@ -3092,6 +3092,10 @@ do_whole_program_analysis (void) ...@@ -3092,6 +3092,10 @@ do_whole_program_analysis (void)
execute_ipa_pass_list (g->get_passes ()->all_regular_ipa_passes); execute_ipa_pass_list (g->get_passes ()->all_regular_ipa_passes);
/* When WPA analysis raises errors, do not bother to output anything. */
if (seen_error ())
return;
if (symtab->dump_file) if (symtab->dump_file)
{ {
fprintf (symtab->dump_file, "Optimized "); fprintf (symtab->dump_file, "Optimized ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment