This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/42088] flag_gtoggle in free_lang_data hides -fcompare-debug errors
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2009 18:54:29 -0000
- Subject: [Bug lto/42088] flag_gtoggle in free_lang_data hides -fcompare-debug errors
- References: <bug-42088-334@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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