> > This caused: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121045
I see, -compare-debug actually compares discriminators in dump of final pass. Discriminators do not need to be the same if they are unused and they are consumed only by dwaf2out and by auto-profile, so I think compare-debug does not need to compare them. Auto-profile now has -Wauto-profile that warns about discriminator divergences, sadly there are so many problems with create_gcov output that at the moment this is within a noise factor (there are over a million of mismatched profile warning during bootstrap). I debugged most of them, but need to dive deeper into create_gcov to fix it. I will patch compare-debug to ignore discriminators and disable a ssign-discriminators when debug statements are not present. Honza > > -- > H.J.