From patchwork Thu Jan 11 09:59:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 187277 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1340504dyi; Thu, 11 Jan 2024 02:01:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZAGj4hr0ShgsLtoXQZb5YdMtCnJ7m9LhWg/3NXYQLotLkKSly74ka3UVuF86WtSzNBO4g X-Received: by 2002:a05:620a:7e9:b0:783:36e0:ca with SMTP id k9-20020a05620a07e900b0078336e000camr914175qkk.75.1704967305516; Thu, 11 Jan 2024 02:01:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704967305; cv=pass; d=google.com; s=arc-20160816; b=oFS+jPipOe05UJj+1dsEQhtZzaxvbMfCV/q80tQpFQgrlQzPiU2fh6qFWVRr7nXxKH 1t5WYRR/2xhG0pz/dSJSrZ3lms3ZJnlZv7LKBDW/b2zFHJns1atrRiHyNRboKj4fwpca YedDbI3MzrmAi2laOCMaaT+Kt5g5h8mRXmm5fcZfvbuPek0rqyZWB87aEw059Om+z3pu PJQcJTA4xqw2LwZMFnhn4DjqpHeWn0r2LGIN85+CZj+Rqr2m2LQUXi6emY2s14/a1gxe XzmSQfvCcqi7A2UsQCepQ8ZkinN3Z/2OMwBlsDe60JKmS2xEkP1xBDwcndZKtMo8BCY3 oIbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:arc-filter :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=TP0Jc36RFaVa3D3uzPcHXsiI5slbGDY6bQRuJowbquc=; fh=Yb7vMu1xmO3w7lzcUJ3g87/936eZQp4GM8b6tTP+qWg=; b=Lna+B/5iydcyIk65N3o1GmKnqwuSSC6lkCzun/mMMBrbMFh3RRndqlqVPAwivYdyAh FKjASGGKaECT5UYJeBakGY5z8nrNaIAhxpfcFeTMIh+BzXXlJ6oiyS4bTK/FQBKJETj2 LCvOawSHGqiw/iQTfSnhQ628lMSkMbgvUIXZA2wpdMiqxJ4RBuslCGoZL+I+PANwYjMB CoW6J8uLdK2n1WQwIDEAmLDHXCKLazGNvBV27YzLhK/cSDB9l2l4alsHKUbT97KVdaor zOtLeEJQFtxtiofD+VNSkS3aki8P3g2VWNmFMJTZtPaSXOSNywESoeZKGSfpCf2tGlSE 5BVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=e4G6XkUZ; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id qs3-20020a05620a394300b00783322de747si609769qkn.339.2024.01.11.02.01.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:01:45 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=e4G6XkUZ; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 30547385DC13 for ; Thu, 11 Jan 2024 10:01:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30547385DC13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704967305; bh=TP0Jc36RFaVa3D3uzPcHXsiI5slbGDY6bQRuJowbquc=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=e4G6XkUZfTwgkPu3MQGYBa/a0SGiNEV0UhdBuyeSkxha3PeLMwxi0JcTBIgz1w8fS IKJu25KG1Xpwsmwl9q8W0Ye6pNcCJf4Bqo1BMW4KpVaquBOfs6iMnEanKaNQLc7iH1 6yjummfhURhOasQmNH6jvrMO1gbhMpfBNvDgU6TE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by sourceware.org (Postfix) with ESMTPS id C088638618B9; Thu, 11 Jan 2024 09:59:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C088638618B9 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C088638618B9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.167.177 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704967182; cv=none; b=MTUe0GJ9f5PHrqbkKg4DoslArdVwRetNhDOyxeiff7MfUm0Pt71u+oo1yqC4UDljMDtXTJ8aydbnl9xPeFdnZYNd8TSKVemg9CJp/ji9gVItqiRZaWhOi2yN12V5mnyUr1rOa1RvR7yOEehCsIjTKtUWcat7PvJU+oeyDlfcQVI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704967182; c=relaxed/simple; bh=DFQfjQX5KH7nU6iho8xQFUEUqipQTkfjPK9QlG2QfSU=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=xIweUE1X8yUspM+7U9hmLLCVMd1GQNuH7+diyG6ALXan7vPjMW9X5IfZdJBtu1WUqv0lQkZHdKSoUkepgl1ZapM4Q3oNanSzd0tuwDL91lvc60xdyoIwM5ixAzPNuck8XCh2MvThxyIFV3ZdjsKvTGNI74ZdeofEWPONw5eZWHc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-3bbbc6bcc78so4215163b6e.1; Thu, 11 Jan 2024 01:59:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704967179; x=1705571979; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TP0Jc36RFaVa3D3uzPcHXsiI5slbGDY6bQRuJowbquc=; b=UpLFC2kZtQcYoQxK5aC5nW6tfvv3ru4qFXJMIVTv3YnkiFT1zYG5X28dtK7QkLI54V 0mt3rXnfGrEA415p6mu+LLhhkYAYWF09yPXz88q1NQ4qoKsukeHrEy2ISwyhZ8zBtsbi puwmX+QbEiWU7HqIDIdSYFUrRIyxn+B9aFK77nO+hLdi4Ffu6uKXLKM3l/6AZd6x16ff 7UjTIWq3n44FAihM3uaxbc5awuAmJYBinZ7awl5uxh8UUf9VqTdDWiTDGrSdFqxvbU++ niv2E/SVcU/8G0Vw20BXpaVk//nzgvrGsFenlQ7NlQNyoCEZgwTlaAxTnmkUXto1G49j Zfdw== X-Gm-Message-State: AOJu0YxoKOtDUpVNttHFNEPoZfWh2WNyWlC8O676VPso4Gn9gqDpTrK4 20FHzdcsoYaJcbuB/aJzlcXBPaQydks6nw== X-Received: by 2002:a05:6808:3c43:b0:3bb:dfce:5906 with SMTP id gl3-20020a0568083c4300b003bbdfce5906mr1362220oib.110.1704967179506; Thu, 11 Jan 2024 01:59:39 -0800 (PST) Received: from localhost.localdomain ([149.248.38.156]) by smtp.gmail.com with ESMTPSA id x10-20020aa784ca000000b006d9c16b2089sm761243pfn.188.2024.01.11.01.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 01:59:39 -0800 (PST) From: YunQiang Su To: gcc-patches@gcc.gnu.org Cc: YunQiang Su Subject: [commit] MIPS: Add ATTRIBUTE_UNUSED to mips_start_function_definition Date: Thu, 11 Jan 2024 17:59:21 +0800 Message-Id: <20240111095922.2148110-1-syq@gcc.gnu.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787787797544815814 X-GMAIL-MSGID: 1787787797544815814 Fix build warning: mips.cc: warning: unused parameter 'decl'. gcc * config/mips/mips.cc (mips_start_function_definition): Add ATTRIBUTE_UNUSED. --- gcc/config/mips/mips.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/mips/mips.cc b/gcc/config/mips/mips.cc index 60b336e43d0..e752019b5e2 100644 --- a/gcc/config/mips/mips.cc +++ b/gcc/config/mips/mips.cc @@ -7330,7 +7330,8 @@ mips_start_unique_function (const char *name) function contains MIPS16 code. */ static void -mips_start_function_definition (const char *name, bool mips16_p, tree decl) +mips_start_function_definition (const char *name, bool mips16_p, + tree decl ATTRIBUTE_UNUSED) { if (mips16_p) fprintf (asm_out_file, "\t.set\tmips16\n");