https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124406
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Basically this happens when some optimizations diverge before profile pass. So dumping CFGs if the passes for instrumentation and feedback build and comparing them should show that. Indeed this should be independent of LTO, we should be able to read -fno-lto profile to -flto compiler and vice versa.
