------- Comment #23 from jakub at gcc dot gnu dot org 2010-07-07 14:25 ------- Hash tables hashed by DECL_UID should be traversed only when the traversal order doesn't affect code generation. E.g. Richard fixed a few places to just set bits in a bitmap and then iterate over the bitmap for code generation (which means gaps between uids don't affect code generation, just reordering of decl uids could).
You can just compare -fdump-final-insns= dumps from the -fcompare-debug invocation, that's what is actually being compared. Those dumps are with TDF_NOUID. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44832