mirror of git://gcc.gnu.org/git/gcc.git
lto.c: Include ipa-inline.h
* lto.c: Include ipa-inline.h (do_whole_program_analysis): Free inline summary after partitioning. From-SVN: r209322
This commit is contained in:
parent
742f66e736
commit
bbe281da97
|
|
@ -1,3 +1,8 @@
|
||||||
|
2014-03-19 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
|
* lto.c: Include ipa-inline.h
|
||||||
|
(do_whole_program_analysis): Free inline summary after partitioning.
|
||||||
|
|
||||||
2014-03-19 Richard Biener <rguenther@suse.de>
|
2014-03-19 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
PR middle-end/60553
|
PR middle-end/60553
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "data-streamer.h"
|
#include "data-streamer.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "pass_manager.h"
|
#include "pass_manager.h"
|
||||||
|
#include "ipa-inline.h"
|
||||||
|
|
||||||
|
|
||||||
/* Number of parallel tasks to run, -1 if we want to use GNU Make jobserver. */
|
/* Number of parallel tasks to run, -1 if we want to use GNU Make jobserver. */
|
||||||
|
|
@ -3273,6 +3274,10 @@ do_whole_program_analysis (void)
|
||||||
else
|
else
|
||||||
lto_balanced_map ();
|
lto_balanced_map ();
|
||||||
|
|
||||||
|
/* Inline summaries are needed for balanced partitioning. Free them now so
|
||||||
|
the memory can be used for streamer caches. */
|
||||||
|
inline_free_summary ();
|
||||||
|
|
||||||
/* AUX pointers are used by partitioning code to bookkeep number of
|
/* AUX pointers are used by partitioning code to bookkeep number of
|
||||||
partitions symbol is in. This is no longer needed. */
|
partitions symbol is in. This is no longer needed. */
|
||||||
FOR_EACH_SYMBOL (node)
|
FOR_EACH_SYMBOL (node)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue