https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91404
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Aug 23 11:41:16 2019 New Revision: 274851 URL: https://gcc.gnu.org/viewcvs?rev=274851&root=gcc&view=rev Log: Backport r274502 2019-08-23 Martin Liska <mli...@suse.cz> Backport from mainline 2019-08-15 Martin Liska <mli...@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. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/passes.c