From patchwork Wed Jun 17 20:13:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 190896 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp768460ilo; Wed, 17 Jun 2020 13:16:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy4YAxCdGF3g0UcYvPPY/alz1MoOQWOO+2D8S04fW0gs+ZigAK7ZbDa5y3a7mhf5MIShp1 X-Received: by 2002:a25:cd8a:: with SMTP id d132mr943446ybf.443.1592424982763; Wed, 17 Jun 2020 13:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592424982; cv=none; d=google.com; s=arc-20160816; b=ZmFg7GFlKnbL/lPsjVhz5Ac4rIRbi+8atQqeyEAfUKep9fkE5swq46+pUjrlxgUthl ZHQdjyzzHNQ4R2WQMIEg0QffmkiUKJYwybOOKx+rRAJ4r366RyMde9LEsExhNC5KRJuR p3cVyTJcj8hyKvrIL5nmtIYI7BbJmRmlmlMaVv5eDJcAin22UIApVdgjBJh7qgJ8I2M/ bJQh+kO7k/Bmw9/uAOJmNO6Ov8UGQoKLNk5GZ/+gkfqvC2ChF+FRgeEebxowjYAd0clM R0gMbtHXmLMMQEVzWXc0wXZuWv4noHATM33hmbCf8CDsfGtm9vomuyGl+wsi9seGUXKX xwwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=dEZjzTX6+ieOShJN0mJuNiYarK9Z1RqMn0K7hfGtGUM=; b=xt2kdk9IstlhxEhzPj3r2GIw4hN5JkR0N9R6EvwvH6lrV2ii2SWuZ/yBIWh+wPgFWs xtsS3caJeeUYmEKr6IUmf58umwEeiKStoJptVNbgDKBpqSnxcmXV5mb7LpLoks9hbhMs BJqwTUXEtmgrUamJ/t/73METiIp2aiXjBABCQNsF7r1RLPNvdqx6ipw9AGho1q84Tw9A MSDSRJYfHasfuHeLI6SQmidbMCBVzTaoEtJUYLM6oDFlhGLjslEGdt9ap2TbtHYdlN+f ByeHo9oqG24BOTNCWvQxwTnk5jY7x9zV4psYTdKILthXNhG6uloP7+E18Yvtwlad+wbC r3Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rQb1ysMk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b125si574383ybg.145.2020.06.17.13.16.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jun 2020 13:16:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rQb1ysMk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:41236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jleTu-00029W-Aw for patch@linaro.org; Wed, 17 Jun 2020 16:16:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jleQz-0005lZ-Bo for qemu-devel@nongnu.org; Wed, 17 Jun 2020 16:13:21 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:40056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jleQx-0000IY-Jq for qemu-devel@nongnu.org; Wed, 17 Jun 2020 16:13:21 -0400 Received: by mail-pf1-x443.google.com with SMTP id s23so1673124pfh.7 for ; Wed, 17 Jun 2020 13:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dEZjzTX6+ieOShJN0mJuNiYarK9Z1RqMn0K7hfGtGUM=; b=rQb1ysMkQvxua3wjxBWBVlNxm8mA1y2GuGoNe7v2Ea/vjtPFkBP3twB/f2xL+aplvf WFzGp9+rvN2FCFlcTnDtxcOjL3Hp6IooSf2+rSqwk3WBblNLlIa3AUdZkWiqBi0XDxd/ ACqp4VQyGdX+u/BNzOqDkahJFzx+VTb6dlshKPax7D/J8TbyddhS8nfQ0SERgwFPL8Jl tgkjzRvLys0vI/Ia1NDB9MSpfVq4ALyJn9AiQ/+cvuVcdsiulRZ7Q47abzV6Wk9yJziw txkl7aZUEnTZyyY6i+H9LftplS0s6wj+XYVsJJlPHIB++VP5acVSL0BGirLSB0SaBACI K/hA== 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=dEZjzTX6+ieOShJN0mJuNiYarK9Z1RqMn0K7hfGtGUM=; b=TqAZ+xiSRGx8rKQa0U2HTLQH9HCfSt3m40J8oR3jSMtaf+rHSnt5cKD4oZHtdgK/by fn7iIeySRxsOICC8sW3vvGLdVniGDOtRiw4I36Xbp5JcuwewNzfhe9MADzTYLpaLaa34 VjTNMORj7EfHdtsyh9UmBy+onRIy6LhzsRuZ7uAoskoK3qN1UFllZewK1I7EmeBCriU0 +QbQFev2C93RRKQG/f9Rr6/U5D4x1q1XqHCe5eD+Mju98xQEq1JjNrqEL4kaC6olo1o9 sKGSyRV8GCoYmij4Ev6vDvovGL37NAWFBr6zMHpcuf9QxYyHQjvmuEOiLQSUMImfu2mZ UaZA== X-Gm-Message-State: AOAM532ay86p0DzgPnu/8cxrZ4ljveG3cZS4fZyopZtO8Xkx4a30VWmn vCgwndkr4A+6Rop6nbqSmLTAe2JK+dY= X-Received: by 2002:a62:7c09:: with SMTP id x9mr402043pfc.287.1592424797860; Wed, 17 Jun 2020 13:13:17 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id h9sm659259pfe.32.2020.06.17.13.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 13:13:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 4/6] configure: Disable -Wtautological-type-limit-compare Date: Wed, 17 Jun 2020 13:13:07 -0700 Message-Id: <20200617201309.1640952-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200617201309.1640952-1-richard.henderson@linaro.org> References: <20200617201309.1640952-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::443; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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: philmd@redhat.com, Thomas Huth , alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Clang 10 enables this by default with -Wtype-limit. All of the instances flagged by this Werror so far have been cases in which we really do want the compiler to optimize away the test completely. Disabling the warning will avoid having to add ifdefs to work around this. Cc: Eric Blake Buglink: https://bugs.launchpad.net/qemu/+bug/1878628 Acked-by: Thomas Huth Reviewed-by: Eric Blake Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- configure | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/configure b/configure index a8bef95282..5e27229f58 100755 --- a/configure +++ b/configure @@ -2054,6 +2054,7 @@ add_to nowarn_flags -Wno-missing-include-dirs add_to nowarn_flags -Wno-shift-negative-value add_to nowarn_flags -Wno-string-plus-int add_to nowarn_flags -Wno-typedef-redefinition +add_to nowarn_flags -Wno-tautological-type-limit-compare gcc_flags="$warn_flags $nowarn_flags"