https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816
--- Comment #11 from ville at gcc dot gnu.org --- Author: ville Date: Tue Mar 26 12:07:26 2019 New Revision: 269940 URL: https://gcc.gnu.org/viewcvs?rev=269940&root=gcc&view=rev Log: PR libstdc++/89816 Fix based on a suggestion by Antony Polukhin. * include/std/variant (__variant_construct): Capture a pointer to the storage and visit just one variant. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/variant