This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3 PATCH] PR libstdc++/89825
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Mar 2019 14:57:28 +0000
- Subject: Re: [v3 PATCH] PR libstdc++/89825
- References: <CAFk2RUa=c0srwncHEirj1CPAM0rSKgYLucjnDm21nqDh5Kc5Ng@mail.gmail.com> <CAFk2RUZ5KnJu6Kbqw+oZkuqayUbBri8z+nnAUb08J56noVyKiQ@mail.gmail.com>
On 26/03/19 16:48 +0200, Ville Voutilainen wrote:
Slight tweak, the condition for _M_valid and _Extra_visit_slot_needed
is now in sync.
OK, thanks.
PR libstdc++/89825
Fix based on a suggestion by Antony Polukhin.
* include/std/variant (__never_valueless): New.
(_M_valid): Use it.
(_Extra_visit_slot_needed): New.
(_Multi_array): Use it.
(_S_apply_all_alts): Likewise.