[Bug tree-optimization/122380] [15/16 regression] std::variant with std::vectors of differing types may lead to double frees since r15-5595
eigengrau at vm86 dot se
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 08:44:55 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122380
--- Comment #18 from Henrik Lehtonen <eigengrau at vm86 dot se> ---
(In reply to Richard Biener from comment #17)
> Was the original testcase reduced from a real-world program or was it
> created artificially?
I ran into this issue as part of a real-world program (where we had to work
around it when upgrading to GCC 15). The attached testcase was manually
reduced from there.
More information about the Gcc-bugs
mailing list