[Bug libstdc++/95832] std::vector<bool> specialization leading std::variant ctor treating it as int rather than bool

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 23 09:29:02 GMT 2020


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on master.

Not possible to backport to gcc-10, because the front end support
isn't there. That unfortunately means std::variant construction works
differently in each of gcc-9, gcc-10 and master.


More information about the Gcc-bugs mailing list