From patchwork Sun Nov 17 01:19:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 1196248 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-513812-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="mTZwrKyo"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=verizon.net header.i=@verizon.net header.b="q+/iz1Sn"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47FvQn4VCtz9s3Z for ; Sun, 17 Nov 2019 12:20:15 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:references:to:from:reply-to:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=kA/1 qFR75BoxxSy04o7IuJJo02PggZU2nom66lSbqiAyrPzcnKfNjSjkVlsdZFW4L3lR 399DG0DZXsdex0k9BGR9XbKuIHBow3EkCzbxHHbyCXeRTsLuRhBRueWI6YHZV6e0 ReU0GIMShA8uOoAc6FeHG3Fu79RGPr6olmqIA8o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:references:to:from:reply-to:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=Ds6II3dS7d fNntA4b76qh9oUvV8=; b=mTZwrKyopi9Zv4s0gvYudn6KaA8FHwHyWbgVJtsi9o ZyQIpEsh+cNufD63XHvSOJCZBWjIJlIFctg4i8k+RWxMKyQ3hJK9Z+nbwi85SjN5 0lhSc4rPjEG2nlxjpOXd6ZC/JpWWTNQEojDb6zB/gQiscTwL96/EPlKaoQf31XJs k= Received: (qmail 32578 invoked by alias); 17 Nov 2019 01:20:01 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 32455 invoked by uid 89); 17 Nov 2019 01:20:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1051, mich, H*r:sk:sonic.g X-HELO: sonic311-25.consmr.mail.ne1.yahoo.com Received: from sonic311-25.consmr.mail.ne1.yahoo.com (HELO sonic311-25.consmr.mail.ne1.yahoo.com) (66.163.188.206) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 Nov 2019 01:19:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1573953588; bh=AJKJbiB0Z167HCXwl0AX4APcivCNM8rP9CpirtuEpqU=; h=Subject:References:To:From:Date:In-Reply-To:From:Subject; b=q+/iz1SnZeDIsf6YUJas3XzYfie7OfA4gDmBMQFbUka/XZ8WbJgOd0U4iox20wJXhEmMMJRA5KHJuvPbxDDLvVvkr1CpQxb59ejYQw4Au/DEI0t0fBHAsTAmvletoZe0kU1RhtJ23stRQ9i+JeEyX4iWxNccpQUuEw4JfZRhGQVCckG7kK6r2vnEktKsg+BakBd5XV09jcEFkPEiz9qAi7+AQjCFWvHlhf7gRoZAWcQnEbwwZdog/2YSk+515tIC/IYzGhNn8zYPkfESaTUmgDFag0Gqdhtq9Ndro37APFPAovBygSGp/guAcu1vtZd9HtDGNs7jx/7BeYnrCLxV8Q== Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sun, 17 Nov 2019 01:19:48 +0000 Received: by smtp402.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a7a54505a11cdbdc330786d3fed40b8b; Sun, 17 Nov 2019 01:19:44 +0000 (UTC) Subject: Fwd: [PATCH,libstdc++] C++ constexpr tuple is broken. References: <01160e36-db5a-3699-e1ae-223109a2b3ad@verizon.net> To: "libstdc++@gcc.gnu.org" , gcc-patches , Jonathan Wakely X-Patchwork-Original-From: "Ed Smith-Rowland via gcc-patches" From: "Li, Pan2 via Gcc-patches" Reply-To: Ed Smith-Rowland <3dw4rd@verizon.net> X-Forwarded-Message-Id: <01160e36-db5a-3699-e1ae-223109a2b3ad@verizon.net> Message-ID: <373d5195-3fe2-7fd9-9c42-7b8c3a30c839@verizon.net> Date: Sat, 16 Nov 2019 20:19:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <01160e36-db5a-3699-e1ae-223109a2b3ad@verizon.net> I missed a file in my recent patch for C++20 constexpr tuple. Bestrafe Mich. Ed Index: include/bits/uses_allocator.h =================================================================== --- include/bits/uses_allocator.h (revision 278366) +++ include/bits/uses_allocator.h (working copy) @@ -72,7 +72,7 @@ struct __uses_alloc0 : __uses_alloc_base { - struct _Sink { void operator=(const void*) { } } _M_a; + struct _Sink { void _GLIBCXX20_CONSTEXPR operator=(const void*) { } } _M_a; }; template @@ -109,6 +109,7 @@ __uses_alloc::value, _Tp, _Alloc, _Args...>; template + _GLIBCXX20_CONSTEXPR inline __uses_alloc_t<_Tp, _Alloc, _Args...> __use_alloc(const _Alloc& __a) {