From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21341 invoked by alias); 5 Nov 2007 14:39:00 -0000 Received: (qmail 21331 invoked by uid 22791); 5 Nov 2007 14:38:59 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 05 Nov 2007 14:38:57 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lA5Eaqn2023300; Mon, 5 Nov 2007 09:36:53 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lA5EaqFa027710; Mon, 5 Nov 2007 09:36:52 -0500 Received: from caliban.home (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id lA5EapkU007842; Mon, 5 Nov 2007 09:36:52 -0500 Message-ID: <472F2A83.1030907@redhat.com> Date: Mon, 05 Nov 2007 14:39:00 -0000 From: Jason Merrill User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Mark Mitchell CC: =?ISO-8859-1?Q?Manuel_L=F3pez-Ib=E1=F1ez?= , GCC Patches , Nathan Sidwell Subject: Re: PR c++/5645 gcc warns that pure virtual class not explicitly initialized References: <6c33472e0710271010s2a6cc785w1524bbf39b9f607a@mail.gmail.com> <472E58AD.6040001@codesourcery.com> In-Reply-To: <472E58AD.6040001@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2007-11/txt/msg00195.txt.bz2 Mark Mitchell wrote: > Manuel, if we all agree that we don't want to warn in this situation, > then I'd suggest that we check that the base class is nearly empty and > that the base class copy constructor is not user-defined. This makes sense to me. I'd still warn if there's any user-defined constructor, but not warn for the testcase in the PR. Jason