[Bug tree-optimization/122380] [15 regression] std::variant with std::vectors of differing types may lead to double frees since r15-5595

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 17 12:30:24 GMT 2026


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |16.0
            Summary|[15/16 regression]          |[15 regression]
                   |std::variant with           |std::variant with
                   |std::vectors of differing   |std::vectors of differing
                   |types may lead to double    |types may lead to double
                   |frees since r15-5595        |frees since r15-5595
           Priority|P3                          |P2

--- Comment #23 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.


More information about the Gcc-bugs mailing list