From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7524 invoked by alias); 7 Nov 2011 21:47:50 -0000 Received: (qmail 7513 invoked by uid 22791); 7 Nov 2011 21:47:49 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Nov 2011 21:47:32 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pA7LlVM3002573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Nov 2011 16:47:32 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pA7LlVnZ025246; Mon, 7 Nov 2011 16:47:31 -0500 Received: from [0.0.0.0] (ovpn-113-127.phx2.redhat.com [10.3.113.127]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id pA7LlUax009319; Mon, 7 Nov 2011 16:47:30 -0500 Message-ID: <4EB851F2.4090107@redhat.com> Date: Mon, 07 Nov 2011 21:58:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: Jonathan Wakely CC: gcc-patches Subject: Re: [patch] c++/2972 warn when ctor-initializer leaves uninitialized data References: In-Reply-To: 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: 2011-11/txt/msg01074.txt.bz2 On 11/07/2011 04:43 PM, Jonathan Wakely wrote: > Unfortunately this doesn't work very well in C++11 mode, as defaulted > constructors don't cause warnings when they should do e.g. Maybe check this in defaulted_late_check? Jason