https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106499
--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> --- > Issue is that in few cases AFAIK it is only solution to some still > unresolved LTO issues :/ Well, in most cases it's used for symbol versioning which is implemented by assembly directives. However, we offer symver function attribute that survives LTO partitioning. One more reason can be usage of top-level asm, which can be mitigated by -fno-lto for units that use it.