https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121045
--- Comment #13 from Jan Hubicka <hubicka at ucw dot cz> --- Sorry for not getting to this earlier. It is not clear to me why compare debug actually compares discriminators with and without debug info? If debug info is off, the discriminators are not output from the compiler so I think we could also simply disable the pass computing them. Discriminators of debug statements matter for the autoFDO feedback quality, so it seems to me that correct fix would be to simply disable discriminators for compare-debug comparison? I had patch for that, will re-implement it, but I wonder if there is something I miss.
