From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53871 invoked by alias); 29 Nov 2018 07:45:53 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 53688 invoked by uid 89); 29 Nov 2018 07:45:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Nov 2018 07:45:36 +0000 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 mx1.redhat.com (Postfix) with ESMTPS id AB99D89AC4 for ; Thu, 29 Nov 2018 07:45:34 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-117-214.ams2.redhat.com [10.36.117.214]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 52F0F5EDE4; Thu, 29 Nov 2018 07:45:31 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id wAT7jT0N005868; Thu, 29 Nov 2018 08:45:30 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id wAT7jTmS005867; Thu, 29 Nov 2018 08:45:29 +0100 Date: Thu, 29 Nov 2018 07:45:00 -0000 From: Jakub Jelinek To: Jason Merrill Cc: gcc-patches@gcc.gnu.org Subject: Re: [C++ PATCH] Fix clone_body (PR c++/86669) Message-ID: <20181129074529.GC12380@tucnak> Reply-To: Jakub Jelinek References: <20181128084247.GX12380@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181128084247.GX12380@tucnak> User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg02415.txt.bz2 On Wed, Nov 28, 2018 at 09:42:47AM +0100, Jakub Jelinek wrote: > Bootstrapped/regtested on x86_64-linux and i686-linux (earlier version > without the insert_decl_map call), ok for trunk if it passes another > bootstrap/regtest in the current form? FYI, bootstrapped/regtested successfully on both. > 2018-11-28 Jakub Jelinek > > PR c++/86669 > * optimize.c (clone_body_copy_decl): New function. > (clone_body): Use it for base cdtors. Remap here only > DECL_INITIAL of decls that don't have DECL_CONTEXT of the > new clone. > > * g++.dg/cpp0x/initlist105.C: New test. > * g++.dg/cpp0x/initlist106.C: New test. > * g++.dg/other/pr86669.C: New test. Jakub