From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24400 invoked by alias); 10 Oct 2009 18:08:54 -0000 Received: (qmail 24392 invoked by uid 22791); 10 Oct 2009 18:08:53 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Oct 2009 18:08:45 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KRB0040090LNI00@i_mtaout2.012.net.il> for gdb@sourceware.org; Sat, 10 Oct 2009 20:08:42 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.84.229]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KRB00M3O92GHDC0@i_mtaout2.012.net.il>; Sat, 10 Oct 2009 20:08:40 +0200 (IST) Date: Sat, 10 Oct 2009 18:08:00 -0000 From: Eli Zaretskii Subject: Re: A strange gcc behavior, and an argument against -Wno-unused In-reply-to: <200910101745.27358.pedro@codesourcery.com> To: Pedro Alves Cc: gdb@sourceware.org, dave.korn.cygwin@googlemail.com, msnyder@vmware.com Reply-to: Eli Zaretskii Message-id: <83iqenjf1f.fsf@gnu.org> References: <4ACFD8B7.4090902@vmware.com> <4ACFF3C7.3030802@gmail.com> <200910101745.27358.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00192.txt.bz2 > From: Pedro Alves > Date: Sat, 10 Oct 2009 17:45:26 +0100 > Cc: Dave Korn , Michael Snyder > > On Saturday 10 October 2009 03:39:03, Dave Korn wrote: > > > Or append "-Wunused-value"? > > Sounds like a good first step to me. What version of GCC introduced this switch?