From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54219 invoked by alias); 17 Nov 2019 01:33:04 -0000 Mailing-List: contact libstdc++-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libstdc++-owner@gcc.gnu.org Received: (qmail 54200 invoked by uid 89); 17 Nov 2019 01:33:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=H*i:sk:373d519, H*f:sk:373d519, H*MI:sk:373d519 X-HELO: us-smtp-delivery-1.mimecast.com Received: from us-smtp-2.mimecast.com (HELO us-smtp-delivery-1.mimecast.com) (205.139.110.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 Nov 2019 01:33:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573954380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lQPQIPlZ4v6X6Q381CErBNH1YOpsDXLdSlTtiO6cLQU=; b=X5QXFkWvcxLDZpznHorCLHwbznyOZ7r3JEKDLkiySMZR1RIcjEzI1EIGc4SD9O87d8QmLF 3gQr7WINjsK/GdO/lr+mH8cRgZIrPplyoUyoeNbALSzmEShFo7WpLaoikpZC/iUKGAp8R9 xwytcVVkuD81RTANk0/z4PU49bRREoI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-374-yUtfMw62MpOSf8rOMCzhXA-1; Sat, 16 Nov 2019 20:32:57 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 55B91477; Sun, 17 Nov 2019 01:32:56 +0000 (UTC) Received: from localhost (unknown [10.33.36.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 053A15D72C; Sun, 17 Nov 2019 01:32:55 +0000 (UTC) Date: Sun, 17 Nov 2019 01:33:00 -0000 From: Jonathan Wakely To: Ed Smith-Rowland <3dw4rd@verizon.net> Cc: "libstdc++@gcc.gnu.org" , gcc-patches Subject: Re: Fwd: [PATCH,libstdc++] C++ constexpr tuple is broken. Message-ID: <20191117013256.GW17072@redhat.com> References: <01160e36-db5a-3699-e1ae-223109a2b3ad@verizon.net> <373d5195-3fe2-7fd9-9c42-7b8c3a30c839@verizon.net> MIME-Version: 1.0 In-Reply-To: <373d5195-3fe2-7fd9-9c42-7b8c3a30c839@verizon.net> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.12.1 (2019-06-15) X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00051.txt.bz2 On 16/11/19 20:19 -0500, Ed Smith-Rowland via libstdc++ wrote: >I missed a file in my recent patch for C++20 constexpr tuple. Bestrafe Mic= h. > >Ed > > OK for trunk, thanks. >2019-11-16 Edward Smith-Rowland <3dw4rd@verizon.net> > > Repair the part of C++20 p1032 Misc constexpr bits. > * include/bits/uses_allocator.h (__uses_alloc0::_Sink::operaror=3D) > (__use_alloc(const _Alloc&)) : Constexpr. > > >Index: include/bits/uses_allocator.h >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- include/bits/uses_allocator.h (revision 278366) >+++ include/bits/uses_allocator.h (working copy) >@@ -72,7 +72,7 @@ >=20 > struct __uses_alloc0 : __uses_alloc_base > { >- struct _Sink { void operator=3D(const void*) { } } _M_a; >+ struct _Sink { void _GLIBCXX20_CONSTEXPR operator=3D(const void*) { }= } _M_a; > }; >=20 > template >@@ -109,6 +109,7 @@ > __uses_alloc::value, _Tp, _Alloc, _Args= ...>; >=20 > template >+ _GLIBCXX20_CONSTEXPR > inline __uses_alloc_t<_Tp, _Alloc, _Args...> > __use_alloc(const _Alloc& __a) > { >