https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92737
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Dec 9 09:00:42 2019 New Revision: 279109 URL: https://gcc.gnu.org/viewcvs?rev=279109&root=gcc&view=rev Log: Come up with constructors of symtab_node, cgraph_node and varpool_node. 2019-12-09 Martin Liska <mli...@suse.cz> PR ipa/92737 * cgraph.c (symbol_table_test::symbol_table_test): Fix coding style. * cgraph.h (symtab_node::symtab_node): New constructor. (cgraph_node::cgraph_node): Likewise. (varpool_node::varpool_node): Likewise. (symbol_table::allocate_cgraph_symbol): Use newly created constructor. (symbol_table::allocate_cgraph_symbol): Remove. * cgraphunit.c (symtab_terminator): Likewise. * varpool.c (varpool_node::create_empty): Use newly created constructor. Modified: trunk/gcc/ChangeLog trunk/gcc/cgraph.c trunk/gcc/cgraph.h trunk/gcc/cgraphunit.c trunk/gcc/varpool.c