From nobody Mon Feb 9 06:00:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1565410755; cv=none; d=zoho.com; s=zohoarc; b=mZjwtZyhMhrCRz5Ec4uQDUwruYyTinIB4YKG/VF2Wdh/PamqUiCjTsJMbaBZhTezenDWZMYjrFCQjuZL8OfXhLAeat8y8/tQFjvW0Hx97tRfMt/pZB4Cii93+vuDSO8Ca+ZJZ8tlPO6FGOupRiJyf+Sna9ywNPF4wpjpZ3v3V8Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565410755; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=cdQ2zHbW0n5vJl74dX5gSkq4IDwwB5HUv7xrl7+M5h4=; b=PUCtTAsGmjHkFoh+qZu5G7OoPVt099iHsTtkxJfBRXWe4d5g+f5Kta8geooNpxgA9N5rfji+w/cRuSjHLmhnJKcsFJh3qPp54V/QsLNVROOLDx7/Xziq6yUTEnJp/vB2ktaD7cIkm+b/rDtemP9lTpyyTiwbc5ceSyhJQqxFRPg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1565410755957883.7693816167839; Fri, 9 Aug 2019 21:19:15 -0700 (PDT) Received: from localhost ([::1]:34856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwIqU-0001qP-1o for importer@patchew.org; Sat, 10 Aug 2019 00:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34746) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwIkr-0005Yr-Rc for qemu-devel@nongnu.org; Sat, 10 Aug 2019 00:13:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwIkq-0004Jk-Ss for qemu-devel@nongnu.org; Sat, 10 Aug 2019 00:13:21 -0400 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]:34822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwIkq-0004JY-N1 for qemu-devel@nongnu.org; Sat, 10 Aug 2019 00:13:20 -0400 Received: by mail-ot1-x344.google.com with SMTP id j19so63823816otq.2 for ; Fri, 09 Aug 2019 21:13:20 -0700 (PDT) Received: from dionysus.attlocal.net (69-222-133-165.lightspeed.tukrga.sbcglobal.net. [69.222.133.165]) by smtp.gmail.com with ESMTPSA id f84sm33383540oig.43.2019.08.09.21.13.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 09 Aug 2019 21:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cdQ2zHbW0n5vJl74dX5gSkq4IDwwB5HUv7xrl7+M5h4=; b=OJL0rxJnhpB3/XnARFLu3HaekUeDLS2G5va7KZGRvM/Ub80os6wAYCMv1jV7+6/A+7 Ox5s3MRvTlVxEdq8tMNOJUHdohzuZGYMcztZYO1TaW4pUHFsaxyaCtfDXmb8cy9geYuP +0cu6kdm+fQztdjJQrLNKBuZ1YCJ/FluC0MrOL8S5i5r+8mJ1rSZNVO5jDJTTwGws7G8 WnrwrYBdLyerEEbIKsHPSovZFzrcZH95jLM4MZsIkFfMBDeEC5t4LIM/SAFxLXUkRlQ/ Qzbh2r5ErMIW2OUj92VaqOLcyFBbVRtpVtoLTp+vKFtXjSdjwp4ERI2aBBg188as2gnL Gjlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cdQ2zHbW0n5vJl74dX5gSkq4IDwwB5HUv7xrl7+M5h4=; b=t3xy9vELtUN4ijWB2Fzzj3nWVEWf/Vw6gQok3+8Ht8hsWP/Z4Icv0fozBBTjZJUQUw om2ouuHUKgNCtIcK7KtKHDTIwXm63DD8lb8woSx0bS1XNWBUM3R7BtcN2MY6Kxw/q6zg G+8iv5CGRxzGejUsnUKDCq/0DzDo2OWyZD7wv5KCJ7qW/Z32aqTITg3PFPNM8M5qopba vpRmU1qGowEoo2edq95BaDgFh/8Eq1zCIB6pFSOSpK1m3mxhwzNRtCXOcpjgruh6rTdj Ce60Puk4CW3q10bUhkbanqFoCG7k6h/OCnTYcIgDVSS7eoFq5Uih/5ypTo25q1BhLnbp 6QcQ== X-Gm-Message-State: APjAAAVwQaDGTOZHW2B7Ha0lzSrMoPWF8JTPY//tP+C//Xg+jOMkHDoQ cQTRSBvKTsAc7G8vkO94R+Dn/u1M X-Google-Smtp-Source: APXvYqyPsA/TllPJq4B6jXcPfgj6zf5PRf07URZU1HoSdzx5xxHtEprx+ckWSioKbcbcdbW6YBuZYA== X-Received: by 2002:a9d:4902:: with SMTP id e2mr20076436otf.184.1565410400035; Fri, 09 Aug 2019 21:13:20 -0700 (PDT) From: Jan Bobek To: qemu-devel@nongnu.org Date: Sat, 10 Aug 2019 00:12:29 -0400 Message-Id: <20190810041255.6820-14-jan.bobek@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190810041255.6820-1-jan.bobek@gmail.com> References: <20190810041255.6820-1-jan.bobek@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::344 Subject: [Qemu-devel] [RFC PATCH v2 13/39] target/i386: disable unused function warning temporarily X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jan Bobek , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Some functions added later are generated by preprocessor macros and end up being unused (e.g. not all operands can serve as a destination operand). Disable unused function warnings for the new code until I figure out how I want to solve this particular issue. Note: This changeset is intended for development only and shall not be included in the final patch series. Signed-off-by: Jan Bobek --- target/i386/translate.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/i386/translate.c b/target/i386/translate.c index fbf10b57a2..23550a21d3 100644 --- a/target/i386/translate.c +++ b/target/i386/translate.c @@ -4489,6 +4489,10 @@ static void gen_sse(CPUX86State *env, DisasContext *= s, int b) } } =20 +/* XXX TODO get rid of this eventually */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-function" + static void gen_sse_ng(CPUX86State *env, DisasContext *s, int b) { enum { @@ -4513,6 +4517,7 @@ static void gen_sse_ng(CPUX86State *env, DisasContext= *s, int b) =20 g_assert_not_reached(); } +#pragma GCC diagnostic pop =20 /* convert one instruction. s->base.is_jmp is set if the translation must be stopped. Return the next pc value */ --=20 2.20.1