[v3 PATCH] PR libstdc++/89816

Ville Voutilainen ville.voutilainen@gmail.com
Mon Mar 25 16:23:00 GMT 2019


I looked at the codegen of this before and after the patch, and
it does the right thing. Variant's tests run on Linux-x64. OK for
trunk?

2019-03-25  Ville Voutilainen  <ville.voutilainen@gmail.com>

    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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr89816.diff
Type: text/x-patch
Size: 1239 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190325/c838e715/attachment.bin>


More information about the Libstdc++ mailing list