https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85571
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- contrib/compare-debug strips off LTO sections but that would leave us with a no-op compare. On any target using non-native sections just stripping .gnu.lto_.opts will be difficult in such script, so we'd need to build a compare-lto tool and use that. But as said, comparing LTO bytecode is of questionable value and comparing the binaries doesn't work...