From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2509 invoked by alias); 25 Apr 2012 18:13:45 -0000 Received: (qmail 2488 invoked by uid 22791); 25 Apr 2012 18:13:43 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 18:13:24 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Vd8fV67bVz4Kh2R; Wed, 25 Apr 2012 20:13:22 +0200 (CEST) Received: from igel.home (ppp-88-217-111-104.dynamic.mnet-online.de [88.217.111.104]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Vd8fV2XLVz4KK2V; Wed, 25 Apr 2012 20:13:22 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 0D553CA29F; Wed, 25 Apr 2012 20:13:21 +0200 (CEST) From: Andreas Schwab To: "Maciej W. Rozycki" Cc: Tom Tromey , Sergio Durigan Junior , Jan Kratochvil , Subject: Re: Switch -Wunused-variable on? References: <20120422082240.GA21311@host2.jankratochvil.net> <87sjfufrlr.fsf@fleche.redhat.com> X-Yow: I want to kill everyone here with a cute colorful Hydrogen Bomb!! Date: Wed, 25 Apr 2012 18:13:00 -0000 In-Reply-To: (Maciej W. Rozycki's message of "Wed, 25 Apr 2012 18:22:07 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-04/txt/msg00215.txt.bz2 "Maciej W. Rozycki" writes: > Then you don't actually need a definition, because the call will be > optimised away You still need to support unoptimized builds. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."