On 8/9/19 6:41 AM, Martin Liška wrote:
> Hi.
>
> The patch prevents crashes caused by fact that do_per_function_toporder
> uses get_uid () to register all dead cgraph_nodes. That does not work
> now as cgraph_nodes are directly released via ggc_free and so that one
> will see a garbage here. Secon
(insert_cgraph_node_to_order): New.
>> (duplicate_cgraph_node_to_order): New.
>> (do_per_function_toporder): Register all 3 cgraph hooks.
>> Skip removed_nodes now as we know about all of them.
>> ---
>> gcc/passes.c | 69 +++++--
On 8/9/19 6:41 AM, Martin Liška wrote:
Hi.
The patch prevents crashes caused by fact that do_per_function_toporder
uses get_uid () to register all dead cgraph_nodes. That does not work
now as cgraph_nodes are directly released via ggc_free and so that one
will see a garbage here. Second steps is
Hi.
The patch prevents crashes caused by fact that do_per_function_toporder
uses get_uid () to register all dead cgraph_nodes. That does not work
now as cgraph_nodes are directly released via ggc_free and so that one
will see a garbage here. Second steps is to register all cgraph hooks
and correct