]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix std::vector<bool> for -std=gnu++14 -fconcepts [PR116070]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 24 Jul 2024 10:32:22 +0000 (11:32 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 24 Jul 2024 16:18:05 +0000 (17:18 +0100)
commit5fc9c40fea2481e56bf7bcc994cb40c71e28abb8
treeb9ba0c6e04fdb98b09153e250a2b3551e184d9e6
parentc9d61cff97b92c64e7f0717b3fb64fff4c870321
libstdc++: Fix std::vector<bool> for -std=gnu++14 -fconcepts [PR116070]

This questionable combination of flags causes a number of errors. This
one in std::vector<bool> needs to be fixed in the gcc-13 branch so I'm
committing it separately to simplify backporting.

libstdc++-v3/ChangeLog:

PR libstdc++/116070
* include/bits/stl_bvector.h: Check feature test macro before
using is_default_constructible_v.
libstdc++-v3/include/bits/stl_bvector.h