https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107670
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> --- ipa_check_create_node_params and ipa_check_create_edge_args are mostly left-overs from when summarries were arrays indexed by cgraph_node and cgraph_edge uids. Those arrays then sometimes needed to be properly resized, which is not the case any more with hash-table based summary holder classes. Currently these functions just make sure that ipa_node_params_sum and ipa_edge_args_sum (and the hash tables for value ranges and bit information in it) have been allocated. This can probably be done much less often, let me review all the places where they are called next stage 1. Their comments are also from a different era ;-)