From patchwork Sun Oct 10 09:19:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 67344 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 24393B6EEB for ; Sun, 10 Oct 2010 20:19:19 +1100 (EST) Received: (qmail 3203 invoked by alias); 10 Oct 2010 09:19:17 -0000 Received: (qmail 3195 invoked by uid 22791); 10 Oct 2010 09:19:16 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 10 Oct 2010 09:19:12 +0000 Received: by wyf23 with SMTP id 23so2381862wyf.20 for ; Sun, 10 Oct 2010 02:19:09 -0700 (PDT) Received: by 10.227.135.8 with SMTP id l8mr4359344wbt.224.1286702349752; Sun, 10 Oct 2010 02:19:09 -0700 (PDT) Received: from localhost (rsandifo.gotadsl.co.uk [82.133.89.107]) by mx.google.com with ESMTPS id a17sm2644819wbe.12.2010.10.10.02.19.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 10 Oct 2010 02:19:08 -0700 (PDT) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, rdsandiford@googlemail.com Subject: [committed] Trivial warning fix for mips.c Date: Sun, 10 Oct 2010 10:19:07 +0100 Message-ID: <87hbgummlw.fsf@firetop.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org A recent patch introduced an "unused parameter" warning in mips.c Fixed with the trivial patch below. Tested on mips64octeon-linux-gnu and applied. Richard gcc/ * config/mips/mips.c (mips_handle_option): Make "value" with ATTRIBUTE_UNUSED. Index: gcc/config/mips/mips.c =================================================================== --- gcc/config/mips/mips.c 2010-10-10 10:14:29.000000000 +0100 +++ gcc/config/mips/mips.c 2010-10-10 10:14:31.000000000 +0100 @@ -15441,7 +15441,7 @@ mips_set_tune (const struct mips_cpu_inf /* Implement TARGET_HANDLE_OPTION. */ static bool -mips_handle_option (size_t code, const char *arg, int value) +mips_handle_option (size_t code, const char *arg, int value ATTRIBUTE_UNUSED) { switch (code) {