From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 771 invoked by alias); 24 Jan 2009 22:33:30 -0000 Received: (qmail 759 invoked by uid 22791); 24 Jan 2009 22:33:29 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.246) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 24 Jan 2009 22:33:25 +0000 Received: by an-out-0708.google.com with SMTP id c2so752149anc.26 for ; Sat, 24 Jan 2009 14:33:23 -0800 (PST) Received: by 10.100.227.6 with SMTP id z6mr595285ang.120.1232836403077; Sat, 24 Jan 2009 14:33:23 -0800 (PST) Received: from ?10.89.220.159? ([32.156.65.96]) by mx.google.com with ESMTPS id b32sm13183998ana.35.2009.01.24.14.33.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 14:33:22 -0800 (PST) References: <20090124222454.29966.qmail@sourceware.org> Message-Id: <32CDCAFA-A097-4D49-A954-92C12C16A263@gmail.com> From: Andrew Thomas Pinski To: "gcc-bugzilla@gcc.gnu.org" In-Reply-To: <20090124222454.29966.qmail@sourceware.org> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 5G77) Subject: Re: [Bug c/38961] if () block not true but a command in it is still in effect Date: Sat, 24 Jan 2009 22:33:00 -0000 Cc: "gcc-bugs@gcc.gnu.org" X-IsSubscribed: yes Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg02699.txt.bz2 Sent from my iPhone On Jan 24, 2009, at 2:24 PM, "jellegeerts at gmail dot com" wrote: > > > ------- Comment #6 from jellegeerts at gmail dot com 2009-01-24 > 22:24 ------- > Seems reasonable, though I'd vote for -Wall to include -Winit-self. > > I actually discovered this because of a bug I found in lxpanel. Now > of course > it's the fault of those developers not to use -Winit-self, but seen > the other > options that -Wall enables, it seems reasonable to also enable - > Winit-self. Except -Winit-self is there because we decided a long time ago initing the variable by itself is a way to disable the uninitization warning. In fact before 3.4 there was no way to get this warning (oh I added this option:) ). Thanks, Andrew Pinsky > > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38961 >