2014-03-19  Richard Biener  <rguenther@suse.de>

	* lto.c (lto_wpa_write_files): Move call to
	lto_promote_cross_file_statics ...
	(do_whole_program_analysis): ... here, into the partitioning
	block.  Do not ggc_collect after lto_wpa_write_files but
	for a last time before it.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208679 138bc75d-0d04-0410-961f-82ee72b054a4