[Bug libstdc++/111089] ODR violation warning in std::variant implementation when linking(LTO) C++20 and C++17 TUs

tkaminsk at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 6 15:38:21 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111089

Tomasz Kamiński <tkaminsk at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Tomasz Kamiński <tkaminsk at gcc dot gnu.org> ---
With r16-6301-gb3c167b61fd75fe9820636d9f7fff7920ca9b084 the C++17
implementation was changed to be inline with C++20 or later.


More information about the Gcc-bugs mailing list