From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30041 invoked by alias); 10 May 2011 02:37:22 -0000 Received: (qmail 30030 invoked by uid 22791); 10 May 2011 02:37:21 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-px0-f171.google.com (HELO mail-px0-f171.google.com) (209.85.212.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 May 2011 02:37:07 +0000 Received: by pxi7 with SMTP id 7so4052096pxi.30 for ; Mon, 09 May 2011 19:37:07 -0700 (PDT) Received: by 10.68.23.166 with SMTP id n6mr10979904pbf.481.1304995027036; Mon, 09 May 2011 19:37:07 -0700 (PDT) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id x10sm120085pbe.1.2011.05.09.19.37.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 May 2011 19:37:05 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 9019816DE62D; Tue, 10 May 2011 12:07:00 +0930 (CST) Date: Tue, 10 May 2011 02:37:00 -0000 From: Alan Modra To: Paul Brook Cc: binutils@sourceware.org Subject: Re: [PATCH] C6X unwinding table generation Message-ID: <20110510023700.GW7018@bubble.grove.modra.org> Mail-Followup-To: Paul Brook , binutils@sourceware.org References: <201104071355.13054.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201104071355.13054.paul@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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 X-SW-Source: 2011-05/txt/msg00110.txt.bz2 On Thu, Apr 07, 2011 at 01:55:12PM +0100, Paul Brook wrote: > (dot_cfi_endproc): Use tc_cfi_endproc. .../gas/dw2gencfi.c: In function 'dot_cfi_endproc': .../gas/dw2gencfi.c:1119:21: error: variable 'fde' set but not used [-Werror=unused-but-set-variable] * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. Index: gas/dw2gencfi.c =================================================================== RCS file: /cvs/src/src/gas/dw2gencfi.c,v retrieving revision 1.55 diff -u -p -r1.55 dw2gencfi.c --- gas/dw2gencfi.c 9 May 2011 13:17:56 -0000 1.55 +++ gas/dw2gencfi.c 10 May 2011 02:34:34 -0000 @@ -73,7 +73,7 @@ #endif #ifndef tc_cfi_endproc -# define tc_cfi_endproc(fde) ((void)0) +# define tc_cfi_endproc(fde) ((void) (fde)) #endif #ifndef DWARF2_FORMAT -- Alan Modra Australia Development Lab, IBM