https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125187
--- Comment #9 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Oliver Schönrock from comment #7) > Curiously, to me at least, despite this being a single TU, the warning still > ONLY occurs when LTO is enabled. I would have thought that there is no LTO > to do in a single TU link stage? > (No, because when linking the executable, it knows nothing more is to come, as opposed to when it's just an object and it has all the (lack of) constraints that come with that.)
