[Bug ipa/65521] [5 Regression] nondeterministic -fcompare-debug failures

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 23 09:46:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65521

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But even hashing DECL_UIDs rather than hashing pointers is a no-go here,
pointers can be arbitrary, for DECL_UIDs we at least have the guarantee that -g
and -g0 DECL_UIDs compare the same, but there can be bigger gaps in between
them for -g.  Dunno if symtab_node's order field can be used reliably for this
or not (or it could hash ->name () string).



More information about the Gcc-bugs mailing list