https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65521
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Though, judging from the fact that we print symtab_node::order into the -fdump-final-insns= dumps: ;; Function selinux_ops (selinux_ops, funcdef_no=4, cgraph_uid=4, symbol_order=4) it should be ok (otherwise we'd have -fcompare-debug failures already). For functions we could also use node->uid (either just that, or hash in both), but we don't have those in the varpool. So, I think I'll just add the testcase into the testsuite and bootstrap/regtest this.