Properly register dead cgraph_nodes in passes.c.
authorMartin Liska <mliska@suse.cz>
Thu, 15 Aug 2019 06:58:09 +0000 (08:58 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 15 Aug 2019 06:58:09 +0000 (06:58 +0000)
commit0c04043ec41297ad3aa4f92c38b61b7cf2aa40ae
tree29b9b351775dbb81c4a60f055cfd17053f040bd5
parent304e8bcb4a7923651816d27433f101fdc309ca96
Properly register dead cgraph_nodes in passes.c.

2019-08-15  Martin Liska  <mliska@suse.cz>

PR ipa/91404
* passes.c (order): Remove.
(uid_hash_t): Likewise).
(remove_cgraph_node_from_order): Remove from set
of pointers (cgraph_node *).
(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.

From-SVN: r274502
gcc/ChangeLog
gcc/passes.c