]> git.ipfire.org Git - thirdparty/gcc.git/commit
ipa-strub: Replace cgraph_node order with uid.
authorMichal Jires <mjires@suse.cz>
Thu, 24 Oct 2024 00:04:12 +0000 (02:04 +0200)
committerMichal Jires <mjires@suse.cz>
Wed, 18 Dec 2024 17:15:16 +0000 (18:15 +0100)
commitbad3714b117f6d5c09b3dc8925441ce6745d0a9d
tree047b0e9964861d6b0c17cd9d5d253d3915d1de9e
parent8b1a572840438d0caf3a40cfdebbc55bbc3968f5
ipa-strub: Replace cgraph_node order with uid.

ipa_strub_set_mode_for_new_functions uses node order as unique ever
increasing identifier. This is better satisfied with uid.
Order loses uniqueness with following patches.

gcc/ChangeLog:
* ipa-strub.cc (ipa_strub_set_mode_for_new_functions): Replace
order with uid.
(pass_ipa_strub_mode::execute): Likewise.
gcc/ipa-strub.cc