This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch rfa] Fix PCH test failure when -fdebug-types-section is enabled


> Generated code should not depend on actual values of pointers - which
> often happens when you traverse a hashtable hashing pointers.  Is this
> what is done here?  Then I suggest to hash on something different or
> sort after sth different before outputting.

That was it, thanks! We were emitting type stub DIEs via a hash table
traversal where the address of the DIE was being used as the hash.

-cary


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]