From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10882 invoked by alias); 16 Feb 2004 15:48:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10875 invoked from network); 16 Feb 2004 15:48:05 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 16 Feb 2004 15:48:05 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 321071A448A; Mon, 16 Feb 2004 10:43:56 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16432.58684.128094.521393@localhost.redhat.com> Date: Mon, 16 Feb 2004 15:48:00 -0000 To: fnf@redhat.com Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Eliminate useless test of variable before overwriting it in sh-tdep.c In-Reply-To: <200402121512.40574.fnf@ninemoons.com> References: <200402121512.40574.fnf@ninemoons.com> X-SW-Source: 2004-02/txt/msg00405.txt.bz2 Fred Fish writes: > In sh-tdep.c, cache->uses_fp is set to either 0 or 1, so there is no > point in testing to see if it is already 1 before setting it to 1. > ok.