From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 0A92D388F076 for ; Wed, 6 May 2020 19:35:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0A92D388F076 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-241-6q_-SbUqNp-856K5x7ZoRQ-1; Wed, 06 May 2020 15:35:47 -0400 X-MC-Unique: 6q_-SbUqNp-856K5x7ZoRQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9886880058A; Wed, 6 May 2020 19:35:46 +0000 (UTC) Received: from localhost (unknown [10.33.36.248]) by smtp.corp.redhat.com (Postfix) with ESMTP id 451F326548; Wed, 6 May 2020 19:35:46 +0000 (UTC) Date: Wed, 6 May 2020 20:35:45 +0100 From: Jonathan Wakely To: =?iso-8859-1?Q?Fran=E7ois?= Dumont Cc: "libstdc++@gcc.gnu.org" , gcc-patches Subject: Re: [PATCH] Improve std::fill for vector Message-ID: <20200506193545.GC2678@redhat.com> References: <6e58122b-619b-0334-3dd6-73da004fd6f0@gmail.com> MIME-Version: 1.0 In-Reply-To: <6e58122b-619b-0334-3dd6-73da004fd6f0@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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=-13.5 required=5.0 tests=BAYES_00, BODY_8BITS, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP 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: Wed, 06 May 2020 19:35:52 -0000 On 06/05/20 20:46 +0200, Fran=E7ois Dumont via Libstdc++ wrote: >Hi > >I am not clear about current stage so I am proposing this trivial=20 >patch to find out if we are back in stage 1. The current status is always shown on the front page of gcc.gnu.org (although currently the link to the GCC 11 status is broken, because the list archives got renumbered for some reason, it should be https://gcc.gnu.org/pipermail/gcc/2020-April/000505.html for GCC 11). >This patch extend the overload so that it is used even when=20 >_GLIBCXX_DEBUG mode is activated. > >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 * include/bits/stl_algobase.h (struct _B= it_iterator): New=20 >declaration. >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (std::__fill_a1(_Bit_iterator, _Bit_iter= ator, const=20 >bool&)): Likewise. >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 * include/bits/stl_bvector.h (__fill_bve= ctor): Move outside >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 _GLIBCXX_STD_C namespace. >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (fill(_Bit_iterator, _Bit_iterator, cons= t bool&)):=20 >Likewise and rename >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 into... >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (__fill_a1): ...this. >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 * testsuite/25_algorithms/fill/bvector/1= .cc: New. > >Tested under Linux x86_64 normal and debug modes. > >Ok to commit ? OK, thanks.