From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16694 invoked by alias); 11 Feb 2002 15:13:05 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16631 invoked from network); 11 Feb 2002 15:13:03 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (12.107.208.154) by sources.redhat.com with SMTP; 11 Feb 2002 15:13:03 -0000 Received: from free.redhat.lsd.ic.unicamp.br (dhcpd55.meridian.redhat.com [172.16.47.55]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g1BFCgI02312; Mon, 11 Feb 2002 10:12:46 -0500 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) id g1BFBWX27079; Mon, 11 Feb 2002 13:11:32 -0200 To: Bernard Dautrevaux Cc: "'Per Abrahamsen'" , gcc@gcc.gnu.org Subject: Re: a warning to implement References: <17B78BDF120BD411B70100500422FC6309E479@IIS000> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Mon, 11 Feb 2002 07:19:00 -0000 In-Reply-To: Bernard Dautrevaux's message of "Mon, 11 Feb 2002 15:33:06 +0100" Message-ID: User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-02/txt/msg00718.txt.bz2 On Feb 11, 2002, Bernard Dautrevaux wrote: > However there seems to be such a strong opposition to having this warning > installed by default in -Wall that I think we should at least provide it as > an additional warning flag; it's useful enough that we may get it. Hmm... Perhaps my message was lost in the noise... We *already* have a warning that is enabled with -Wall for constructs such as `T x = x;', and the warning is that `x' is being used uninitialized. Some earlier versions of GCC apparently didn't issue this warning, or only do when optimization is enabled, but the fact is that there is a warning already, and adding another IMHO would be overkill. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer