------- Comment #13 from aoliva at gcc dot gnu dot org 2009-11-19 18:54 ------- > one could randomize the delta we add to next_decl_uid
Yeah, that would be an interesting test. In fact, we had something along these lines before, when we used (randomized) pointers rather than uids, and we failed. I don't think anything was done to avoid this kind of failure, and randomizing decl uids could get even those that passed because of uid stability to fail compare-debug. I guess we'll only know for sure when someone undertakes it. Thanks for looking into the lto/compare-debug regressions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42088