[Bug lto/83804] [meta] LTO memory consumption
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 15 08:58:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83804
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jan 15 08:57:28 2018
New Revision: 256685
URL: https://gcc.gnu.org/viewcvs?rev=256685&root=gcc&view=rev
Log:
2018-01-15 Richard Biener <rguenther@suse.de>
PR lto/83804
* tree.c (free_lang_data_in_type): Always unlink TYPE_DECLs
from TYPE_FIELDS. Free TYPE_BINFO if not used by devirtualization.
Reset type names to their identifier if their TYPE_DECL doesn't
have linkage (and thus is used for ODR and devirt).
(save_debug_info_for_decl): Remove.
(save_debug_info_for_type): Likewise.
(add_tree_to_fld_list): Adjust.
* tree-pretty-print.c (dump_generic_node): Make dumping of
type names more robust.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-pretty-print.c
trunk/gcc/tree.c
More information about the Gcc-bugs
mailing list