[Bug libstdc++/95915] [10/11 Regression] std::variant doesn't like types with a defaulted virtual destructor

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 29 11:04:16 GMT 2020


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Ville Voutilainen
<ville@gcc.gnu.org>:

https://gcc.gnu.org/g:deb9c51ca71d3cb507dd91ab8bfd8c1021effd9f

commit r10-8386-gdeb9c51ca71d3cb507dd91ab8bfd8c1021effd9f
Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date:   Mon Jun 29 00:36:38 2020 +0300

    PR libstdc++/95915

            PR libstdc++/95915
            * include/std/variant (_Uninitialized):
            Adjust the condition and the comment.
            * testsuite/20_util/variant/95915.cc: New.
            * testsuite/20_util/variant/compile.cc: Add new test.

    (cherry picked from commit 24b54628cfa95194a8de4071c28cb56e6e81c08e)


More information about the Gcc-bugs mailing list