From patchwork Tue Jan 22 20:10:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emilio Cota X-Patchwork-Id: 10776315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D555F91E for ; Tue, 22 Jan 2019 21:25:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0DDC2B736 for ; Tue, 22 Jan 2019 21:25:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF1092B741; Tue, 22 Jan 2019 21:25:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5AD9A2B736 for ; Tue, 22 Jan 2019 21:25:42 +0000 (UTC) Received: from localhost ([127.0.0.1]:50290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm3YC-0004Xf-Ly for patchwork-qemu-devel@patchwork.kernel.org; Tue, 22 Jan 2019 16:25:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm2O1-0007dU-KG for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm2O0-0005yM-1T for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:05 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:39783) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gm2Nz-0005qE-Fg for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:03 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B4B0A15FB; Tue, 22 Jan 2019 15:10:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 22 Jan 2019 15:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=bVJJLA959IwbyfuA/ktJXLDOWfhdOykwmW5QIq/VwQg=; b=vQcH/ bu0xeblHb2K1LDqjC4FHDzqjCvIkqWBXBiMzNX/noH2hXu/fqVrOn71P0nw9Y3C0 LImpU9SF9PNEi/DptWgF0wkbUzv7t302Lgz2UMZ3pM/TXWPJrmiLnXl1wJ8Tdn6c mfVsMx/sjkSh6vt2eY5/Wqs41X7DB7AR7xOqHA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=bVJJLA959IwbyfuA/ktJXLDOWfhdO ykwmW5QIq/VwQg=; b=jFj5ajuI6XO89WGFJYIDv8aUi5g5NMIt4ONWhOIv1S7xY h0+iDnWeM33Wggo9/8FfvEQ58KBFCjXiZJFKYXweUE/Jd7aRwIluw56wlscX5E6x P1aRQrQHUnAULmZ+tpINCEDVbXpUIudme+jhAj3muypeSvRvn5artwteOdH0m6nG dkNBIe763FVHDBizZzdE8b4xgGDVgDkmWrjCGPnGoQUgvE/5CYqFV2RhoezpPTje yntPZiccQLdcDxYiOjVF8UQUzo+zlTY++rt5TkQPsYZz/1ZH8kqAqHb9rDposKXn bYV14WxFF3aj2VAHIPlWPXjDDR4l4CQf5bpNhK49w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkof gjfhestddtredtredttdenucfhrhhomhepfdfgmhhilhhiohcuifdrucevohhtrgdfuceo tghothgrsegsrhgrrghprdhorhhgqeenucfkphepuddvkedrheelrddvtddrvdduieenuc frrghrrghmpehmrghilhhfrhhomheptghothgrsegsrhgrrghprdhorhhgnecuvehluhhs thgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id CD4CA10318; Tue, 22 Jan 2019 15:10:50 -0500 (EST) From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 22 Jan 2019 15:10:39 -0500 Message-Id: <20190122201042.26394-2-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122201042.26394-1-cota@braap.org> References: <20190122201042.26394-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH 1/4] berkeley-testfloat-3: pull 'fail: constify fail_programName' X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Pull just one change: 5a59dce ("fail: constify fail_programName", 2019-01-17). This gets rid of a warning when building fp-test on some hosts, e.g.: /var/tmp/qemu-test.Z0AmK8/tests/fp/berkeley-testfloat-3/source/fail.c:44:7: warning: initializing 'char *' with an expression of type 'const char [1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *fail_programName = ""; ^ ~~ Reported-by: Peter Maydell Signed-off-by: Emilio G. Cota --- tests/fp/berkeley-testfloat-3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fp/berkeley-testfloat-3 b/tests/fp/berkeley-testfloat-3 index ca9fa2ba05..5a59dcec19 160000 --- a/tests/fp/berkeley-testfloat-3 +++ b/tests/fp/berkeley-testfloat-3 @@ -1 +1 @@ -Subproject commit ca9fa2ba05625ba929958f163b01747e07dd39cc +Subproject commit 5a59dcec19327396a011a17fd924aed4fec416b3 From patchwork Tue Jan 22 20:10:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emilio Cota X-Patchwork-Id: 10776269 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6E1D0746 for ; Tue, 22 Jan 2019 21:06:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A1FD29A74 for ; Tue, 22 Jan 2019 21:06:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C34B29E76; Tue, 22 Jan 2019 21:06:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E1EAE29A74 for ; Tue, 22 Jan 2019 21:06:30 +0000 (UTC) Received: from localhost ([127.0.0.1]:49842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm3Fd-0002hu-Sj for patchwork-qemu-devel@patchwork.kernel.org; Tue, 22 Jan 2019 16:06:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm2O1-0007eL-W3 for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm2O0-0005yq-6D for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:05 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:43813) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gm2Nz-0005qF-Ee for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:03 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C06E8161D; Tue, 22 Jan 2019 15:10:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 22 Jan 2019 15:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=V67tfQN/Z74WXyoSCsHql6TCLnzlnUyNFdabzWqXrCQ=; b=VnRTp vFfTc1Z5GrsOPiWsus0Vst2KQ0PG+6UlaadyD+cLA8jbvv4i5Ie5ZWJGGKh4AsN4 OXWVGc5sHnV75vPEwVZcrWT+NhSXQhcfT14x1cVVs62GOrnUZ3WzjMXh7iUIvy0c oGzZmo0k2TfT13kojT8ATgXjG+KxCYXN4V1EbM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=V67tfQN/Z74WXyoSCsHql6TCLnzln UyNFdabzWqXrCQ=; b=lajrrhVhGljN8F4rowXfLWofo1o+CY0mINBAK2siDWi7P pSKg7BtCZLR7io6rNMjfGkq0LVIsxEimu8g+T6PN6gBNJNwOu5hVggWKgtSVdA++ 91QuO6eNSp2ocOhE2Qtpx5awLGKoqhztH6Uq8nY/J6EMuxBacMZIw+pMZitSWZVQ N2/NHB/3YGfUPiZQkUM3z7/ENc3TN2pVdHoM+KIzsvRSExlu9/BvSQ5KPGlrbiXI 4JwRn6NbAcQi5FHDf76w3gH6TJ5vLPj3N7ZxHQXMllCV6lnlWfu+vd/oIPSrt2h3 hpg94C9lIhR6WS9ZG3YUa3MkvfYIrXcx0IuhWBewA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkof gjfhestddtredtredttdenucfhrhhomhepfdfgmhhilhhiohcuifdrucevohhtrgdfuceo tghothgrsegsrhgrrghprdhorhhgqeenucfkphepuddvkedrheelrddvtddrvdduieenuc frrghrrghmpehmrghilhhfrhhomheptghothgrsegsrhgrrghprdhorhhgnecuvehluhhs thgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 0B48B1030E; Tue, 22 Jan 2019 15:10:51 -0500 (EST) From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 22 Jan 2019 15:10:40 -0500 Message-Id: <20190122201042.26394-3-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122201042.26394-1-cota@braap.org> References: <20190122201042.26394-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH 2/4] tests/fp/Makefile: do not use gcc-only -W flags X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP The build of testfloat objects now completes with both gcc and clang. Reported-by: Peter Maydell Signed-off-by: Emilio G. Cota --- tests/fp/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/fp/Makefile b/tests/fp/Makefile index 5019dcdca0..5a35e7c210 100644 --- a/tests/fp/Makefile +++ b/tests/fp/Makefile @@ -65,8 +65,7 @@ QEMU_CFLAGS += $(TF_OPTS) TF_CFLAGS := TF_CFLAGS += -Wno-strict-prototypes TF_CFLAGS += -Wno-unknown-pragmas -TF_CFLAGS += -Wno-discarded-qualifiers -TF_CFLAGS += -Wno-maybe-uninitialized +TF_CFLAGS += -Wno-uninitialized TF_CFLAGS += -Wno-missing-prototypes TF_CFLAGS += -Wno-return-type TF_CFLAGS += -Wno-unused-function From patchwork Tue Jan 22 20:10:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emilio Cota X-Patchwork-Id: 10776265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 653D11390 for ; Tue, 22 Jan 2019 21:03:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 54BFE2BC6C for ; Tue, 22 Jan 2019 21:03:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44F712BC77; Tue, 22 Jan 2019 21:03:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E163C2BC6C for ; Tue, 22 Jan 2019 21:03:09 +0000 (UTC) Received: from localhost ([127.0.0.1]:49775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm3CO-0008JI-NM for patchwork-qemu-devel@patchwork.kernel.org; Tue, 22 Jan 2019 16:03:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm2O2-0007en-Eb for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm2O0-0005yj-4A for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:06 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:56741) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gm2Nz-0005qD-H0 for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:03 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id F1B521626; Tue, 22 Jan 2019 15:10:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 22 Jan 2019 15:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=cjWgCV0NuyNaECwJ+7soo8kAQfKKRd4aBr4OhUaU0/A=; b=I8CHy 3PzWDWVFX+jtR9pabJ87sjQBLOxdwSmcxGoYnrt2/+IRynE0IVNJbx3Dd8uBFTun GJsPk56CRyiI83my1SkHZaq+eicRtZyksWdptqQG436cd5wH+AzosH7FS/PY6ks6 pdJLtl30wp3gXevTuXGd75GFKTo/1E+mDHedQs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=cjWgCV0NuyNaECwJ+7soo8kAQfKKR d4aBr4OhUaU0/A=; b=kqyzkhnrN7JfVlzDxHX3TcAVRqcbUbfmVq9kicCu3FNI6 ucSti16xWKzldbK8GUvI5vkA8nqPj744mLSNLk4Ar8GmhqBQoD0CxbHAQJiFL71C ZR7TWHDSqN4B6KGc/+EBOVUYqESnbkA9fb/QQN4LDjineT3m9EdxL56o6Zu47ZG8 sRk9q2txyx0qYU5R04ltVgC4KNPI1I8pMLDqv6Gdk/zL67bgVgEm3mui4DkOXA6L LxT9JDTnyLd7jghdBJ8k4xeH5tcwPQFx8SU0c7OWB4nV8QqVspItZKFxCj64WO1q 09JZyAOM4jajquZ+6S1CU2JDD38ePZ00+eC7p+zMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkof gjfhestddtredtredttdenucfhrhhomhepfdfgmhhilhhiohcuifdrucevohhtrgdfuceo tghothgrsegsrhgrrghprdhorhhgqeenucfkphepuddvkedrheelrddvtddrvdduieenuc frrghrrghmpehmrghilhhfrhhomheptghothgrsegsrhgrrghprdhorhhgnecuvehluhhs thgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C0AE1027C; Tue, 22 Jan 2019 15:10:51 -0500 (EST) From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 22 Jan 2019 15:10:41 -0500 Message-Id: <20190122201042.26394-4-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122201042.26394-1-cota@braap.org> References: <20190122201042.26394-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH 3/4] fp-test: fix signature of slow_clear_flags and qemu_clear_flags X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP To match the type in testfloat. Reported-by: Peter Maydell Signed-off-by: Emilio G. Cota --- tests/fp/fp-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c index fca576309c..2a35ef601d 100644 --- a/tests/fp/fp-test.c +++ b/tests/fp/fp-test.c @@ -789,7 +789,7 @@ static int set_init_flags(const char *flags) return 0; } -static uint8_t slow_clear_flags(void) +static uint_fast8_t slow_clear_flags(void) { uint8_t prev = slowfloat_exceptionFlags; @@ -797,7 +797,7 @@ static uint8_t slow_clear_flags(void) return prev; } -static uint8_t qemu_clear_flags(void) +static uint_fast8_t qemu_clear_flags(void) { uint8_t prev = qemu_flags_to_sf(qsf.float_exception_flags); From patchwork Tue Jan 22 20:10:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emilio Cota X-Patchwork-Id: 10776275 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 695A51390 for ; Tue, 22 Jan 2019 21:09:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59A2F2B7E2 for ; Tue, 22 Jan 2019 21:09:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C5D22B831; Tue, 22 Jan 2019 21:09:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F0E082B7E2 for ; Tue, 22 Jan 2019 21:09:48 +0000 (UTC) Received: from localhost ([127.0.0.1]:49892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm3Ip-0007nM-NJ for patchwork-qemu-devel@patchwork.kernel.org; Tue, 22 Jan 2019 16:09:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm2O2-0007eQ-2p for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm2O0-0005yQ-2M for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:06 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:35379) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gm2Nz-0005qH-Eg for qemu-devel@nongnu.org; Tue, 22 Jan 2019 15:11:03 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3714815ED; Tue, 22 Jan 2019 15:10:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 22 Jan 2019 15:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=YeYC1l9bRJ58CWbKd0Q09uPzNnbl8ywBVPm2V+4FkEc=; b=mwAj0 Utc+TTTYVtz1531NlRokS5RuJwxEzRkwJLSDFY0Ed8tBy361rfMPyCcJbkUfsTpy ZiyUocvbNCqSdG3NtbgCl9bkWtF/wcp+Xxu7yicBkL7rZg+noF+7tkdalauklOLW zABghV+kjoEd0GQrYDwMSmqrhlieCwbg5FYxXo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=YeYC1l9bRJ58CWbKd0Q09uPzNnbl8 ywBVPm2V+4FkEc=; b=SpoaBn6oPHTIqz7hhxIxzlv9p6Zn9dKEBCAG0dJNCGNgN OVv8OKwhb+B9iXgzgl6nXZY9OAoAwSmwS+ca8pjig7Afzve7/JrVk8J1EHtudX9t zA3y9+4NpzUXiohN925hlBytojKUrdA6dBpkFXlAC90pCyEeTrqUvQLGrrOfNnBd l+SUu2p78jodGvdgUMWT9YuoabNQSOuaTrtj1K2lcdWQs0XE6DUWd5CR9IfHvMrI R8d9p94AbsuTjYi6nojB2jeem4+cBNGfvzI1lObQCd0ZU3p+NHcmk/pFCX+2aHbN i2L5jJ7ZbeMRffpbVl7Ys1JJFwK6XdgGMBH+QZGQg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkof gjfhestddtredtredttdenucfhrhhomhepfdfgmhhilhhiohcuifdrucevohhtrgdfuceo tghothgrsegsrhgrrghprdhorhhgqeenucfkphepuddvkedrheelrddvtddrvdduieenuc frrghrrghmpehmrghilhhfrhhomheptghothgrsegsrhgrrghprdhorhhgnecuvehluhhs thgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E86B10317; Tue, 22 Jan 2019 15:10:51 -0500 (EST) From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 22 Jan 2019 15:10:42 -0500 Message-Id: <20190122201042.26394-5-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122201042.26394-1-cota@braap.org> References: <20190122201042.26394-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH 4/4] tests/fp/platform.h: include config-host.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP We get HOST_WORDS_BIGENDIAN from config-host.h, but the include is missing. Fix it. This fixes `make check-softfloat' on big endian hosts. Reported-by: Peter Maydell Signed-off-by: Emilio G. Cota --- tests/fp/platform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/fp/platform.h b/tests/fp/platform.h index f8c423dde3..c20ba70baa 100644 --- a/tests/fp/platform.h +++ b/tests/fp/platform.h @@ -29,6 +29,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config-host.h" #ifndef HOST_WORDS_BIGENDIAN #define LITTLEENDIAN 1