From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id C78B93842585; Thu, 21 Apr 2022 15:34:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C78B93842585 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-9927] libstdc++: Remove workaround for FE bug in std::tuple [PR96592] X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: fef3d31bd35f53cbcacaec63b279d38c38b78abe X-Git-Newrev: d65b274f1f44c59382b7dad7759cfaf3c8397cf8 Message-Id: <20220421153400.C78B93842585@sourceware.org> Date: Thu, 21 Apr 2022 15:34:00 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2022 15:34:00 -0000 https://gcc.gnu.org/g:d65b274f1f44c59382b7dad7759cfaf3c8397cf8 commit r11-9927-gd65b274f1f44c59382b7dad7759cfaf3c8397cf8 Author: Jonathan Wakely Date: Fri Nov 26 17:46:47 2021 +0000 libstdc++: Remove workaround for FE bug in std::tuple [PR96592] The FE bug was fixed, so we don't need this workaround now. libstdc++-v3/ChangeLog: PR libstdc++/96592 * include/std/tuple (tuple::is_constructible): Remove. (cherry picked from commit 76c6be48b7841524974754f8ea7533b82c7de77e) Diff: --- libstdc++-v3/include/std/tuple | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libstdc++-v3/include/std/tuple b/libstdc++-v3/include/std/tuple index dcf30bd9a8d..63bd68fbe43 100644 --- a/libstdc++-v3/include/std/tuple +++ b/libstdc++-v3/include/std/tuple @@ -553,10 +553,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template struct _TupleConstraints { - template // Workaround for PR 96592 - using is_constructible - = __bool_constant<__is_constructible(_Tp, _Up)>; - // Constraint for a non-explicit constructor. // True iff each Ti in _Types... can be constructed from Ui in _UTypes... // and every Ui is implicitly convertible to Ti.