From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by sourceware.org (Postfix) with ESMTP id F3DDE395A072 for ; Tue, 10 Mar 2020 17:54:25 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583862865; 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=poZKJuEXR0F4uHIO3Z/weQ7Rl7+m46H0fdBjKIl3k5g=; b=EUqfHMav9AuPJi/cudi6QC+JNwlRCYou+UoLJvrAAlqK17G3sH+geTsr6sROOH0LZAA+pE GkKeQCwxuye2RR1yT+bHUT0gQ1DgqKLCEeppXhTWKAMY76T9m/ACYDmgEpR+legifMh25y Pl0sE2Y/ImMrr9Dzcuqh4iZ7OuEzsDg= 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-454-nQFb5LIHOo2CWs12qo8-Mg-1; Tue, 10 Mar 2020 13:54:21 -0400 X-MC-Unique: nQFb5LIHOo2CWs12qo8-Mg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 70C1A100550E; Tue, 10 Mar 2020 17:54:20 +0000 (UTC) Received: from localhost (unknown [10.33.36.147]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1DB0C8D56A; Tue, 10 Mar 2020 17:54:19 +0000 (UTC) Date: Tue, 10 Mar 2020 17:54:19 +0000 From: Jonathan Wakely To: =?iso-8859-1?Q?Fran=E7ois?= Dumont Cc: libstdc++@gcc.gnu.org Subject: Re: [committed] libstdc++: Fix regression in std::move algorithm (PR 93872) Message-ID: <20200310175419.GU9441@redhat.com> References: <20200225124056.GA2337630@redhat.com> <20200225133609.GK9441@redhat.com> MIME-Version: 1.0 In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 17:54:26 -0000 On 26/02/20 07:25 +0100, Fran=E7ois Dumont wrote: >I really like this patch but it has a little drawback related to my=20 >proposal: >https://gcc.gnu.org/ml/libstdc++/2019-10/msg00072.html > >Now to make this code less defensive and so allow the compiler to=20 >report itself invalid usages in constexpr without the _GLIBCXX_DEBUG=20 >help we will have to change existing code, not some constexpr specific=20 >one. Hmm, yes, good point. I still prefer to remove the buggy __memmove for now. Let's revisit this in stage 1 though.