From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9479 invoked by alias); 31 Jul 2014 21:53:18 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 9457 invoked by uid 89); 31 Jul 2014 21:53:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: homiemail-a115.g.dreamhost.com Received: from sub5.mail.dreamhost.com (HELO homiemail-a115.g.dreamhost.com) (208.113.200.129) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Jul 2014 21:53:15 +0000 Received: from homiemail-a115.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a115.g.dreamhost.com (Postfix) with ESMTP id 6C7C34412; Thu, 31 Jul 2014 14:53:14 -0700 (PDT) Received: from redwood.eagercon.com (c-24-7-16-38.hsd1.ca.comcast.net [24.7.16.38]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eager@eagerm.com) by homiemail-a115.g.dreamhost.com (Postfix) with ESMTPSA id 426A4440E; Thu, 31 Jul 2014 14:53:14 -0700 (PDT) Message-ID: <53DABAC9.9000800@eagerm.com> Date: Thu, 31 Jul 2014 21:53:00 -0000 From: Michael Eager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Chen Gang CC: eager@eagercon.com, binutils@sourceware.org, gdb-patches@sourceware.org Subject: Re: [PATCH] gdb/microblaze-tdep.c: Check whether less than zero in conditional expression References: <53CBCC2F.7040702@gmail.com> <53D01542.9020107@eagerm.com> <53D031E7.40602@gmail.com> <53DA9127.5040307@gmail.com> In-Reply-To: <53DA9127.5040307@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00234.txt.bz2 On 07/31/14 11:55, Chen Gang wrote: > On 07/24/2014 06:06 AM, Chen Gang wrote: >> >>>> I do not see this error message in my build which uses -Wall. >>>> What is your build environment? Which version of GCC? >>>> >> Originally, I use "CFLAGS=-W -g -O2" pass to configure. And '-W' is >> different from '-Wall'. '-W' reports real 'all' warnings which can be >> found by compiler, but '-Wall' reports most valuable warnings. > > Sorry, after check details ("info gcc" in Chapter "Warning Options"), > What I said is incorrect. I list the related contents below (-W means > -Wextra, it can be used together with -Wall): Thanks for the update. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077