https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70594
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #37 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So the remaining issue is that for one function emitted in the -fdump-final-insns= the cgraph uid is the same, but symbol_order= is different (on the testcase by 1). This is the function with the highest node->order in the file, so potentially it could affect more than that. So, if we really want to make sure that node->order is the same regardless of GC, we should either make sure the cgraph nodes for the constexpr function copies needed for constexpr processing aren't created at all, or ae always created freshly (e.g. by unregistering the cgraph nodes for them when we put them into the freelist), or perhaps just by making sure we always update the order. Let me find out where exactly is the cgraph node creation called from.