From patchwork Wed Jun 10 20:39:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 187781 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp816759ilo; Wed, 10 Jun 2020 13:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ+rUHLEDUa1FxRcPL2mzGaSuvQX2VAwveAcISikfgOaTkaEpvr7FZ2F43wn0syeI6Xrps X-Received: by 2002:a25:aa2a:: with SMTP id s39mr8390239ybi.296.1591821646769; Wed, 10 Jun 2020 13:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591821646; cv=none; d=google.com; s=arc-20160816; b=KrUnbd8qnPet/BtJUZCKVWFG1AvJM+y33tqg2HVOT086f2e8lSktuj1/h7z2MAFNOT VbMMFuBoO8maapes1KrljoMrQzeG4wavQlmDUO7YswKqjX9PHxGHpCqnBApMi9zvo3q3 5rMM5V53LqcLnzDGa8aXcWxGMQRo1afVmfPFDwzfUwu2CNfuNufuFix9DmSNjGN1wOEb I0DhPoAXg2utgvbUeeObTocp4893xWuYtcLxLciAlfJbeEnko7R5zuO7lFaVS5GWDJOc KoEwf1/lzYx/El+VPJyzlgh7AYZe1hpm/B/d3DcvDFFYRAMiT8mt45UxolXYqneu04L/ o8zA== 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=h9lWVjb7H1XkkBgxSVShhNTX95JNTaemDIvGHo4y1DI=; b=GvqVNHLTTpLF0GZlKoByQf9SHIeSlDxCAX0Pi9uu+lCoOeCwGsy4N3sr/24Cb+GxbU G33mLgHdTeO66cJV/h5BV5SkHVTMsF0dxGS0oLKYBztVuqn3V6qj3PTwXErmyvuekU7r IyQeKrjjFckkTGYZwVuFXaoN8IzmaxLxF8mMwadZuq94MC1s4Mc1pRI8RKMab64umt+3 464fo6FFubyEMnboYzALRuslaaS9oA9Uj/JF43rAWOGYixHIfvypdOxpYdWJ0oWNDMKw vM0AipmAQBbuvV9skUrOMz5xAO5ZYaHpbccyNXd4Zz5M9hjLs5SifmiJ/sjnx6tI4xOr HbtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EoPYiIoW; 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 k186si502294ybf.383.2020.06.10.13.40.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Jun 2020 13:40:46 -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=EoPYiIoW; 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]:36514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj7Wg-0004IZ-3j for patch@linaro.org; Wed, 10 Jun 2020 16:40:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj7W1-0003k0-J1 for qemu-devel@nongnu.org; Wed, 10 Jun 2020 16:40:05 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:41226) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jj7Vw-0007hO-Ko for qemu-devel@nongnu.org; Wed, 10 Jun 2020 16:40:05 -0400 Received: by mail-pg1-x543.google.com with SMTP id b5so548422pgm.8 for ; Wed, 10 Jun 2020 13:39:50 -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=h9lWVjb7H1XkkBgxSVShhNTX95JNTaemDIvGHo4y1DI=; b=EoPYiIoWDGbiFqh/gRr04SvwHczr8aOWHQSXCVs3lpJT8euZfREjYWmeWhpLGdGD43 HbOSpFwz9ZKoBnwl9yLtqxLub31SDpEALw/9xBmsG0jlBVzCzimefcFjorXbeIG/D2Gh ldLPI6pnIQHvwfJfn/hNVeohpY/UDP+gUGsIu6oDFHSNqYoyv/JIcJ6//4DtrfjV5mL/ eINFuYMVw99Fmb9d90sm4ftZ3JtA2FgAbNVXSaIRwQJ32DVESVNZuyzxYCw3Nxye5Rt8 4Gz4GGvVfcFlkKo0r26EIY1Xq/WdCDlkgQaXFAMFM1+nPyCbEv3OKhZm70UE3+lTM+Ro cfMQ== 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=h9lWVjb7H1XkkBgxSVShhNTX95JNTaemDIvGHo4y1DI=; b=hjPx0Tg86Z8xgtrTWEZHSTqwiKnDwbB+ydxryemf9d7dlwHZXs5qzwtf2NS5gmoybj Bwkgs6X5duNWQoXmoYWkUa8xzWE0MaudFZzH+j05wIu5empB7xAyb2snaW21er8ISzYp mDFiHKip4fJuqGURxwBOPym9j3rMFPXNQG5CLOHZSXk6kwOfAsoDKoNRdqpTnvtmVfwq /l3CAe+yfWWG+ZI3Ku33fxLjbNt9EMAx8FDVF4usCjL8KHK15hdqWvtF9UbAYdlST4fV XFP7DzR1SkeQMHSDLW/tLBo6luQkKp1IWPGBZNOJEVWxrB6mS8N5NzrIL/kUIWfFTDlE MFHg== X-Gm-Message-State: AOAM531SQaK8JnEpp34zq4I3dHmUDKnOFNjFE5x5gF88l+NNfIxALvs+ fdtG12NlMS1wn091QoKBYpaRoBIx614= X-Received: by 2002:a62:1c46:: with SMTP id c67mr4162269pfc.170.1591821589289; Wed, 10 Jun 2020 13:39:49 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id g6sm740648pfb.164.2020.06.10.13.39.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 13:39:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 4/5] configure: Disable -Wtautological-type-limit-compare Date: Wed, 10 Jun 2020 13:39:41 -0700 Message-Id: <20200610203942.887374-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200610203942.887374-1-richard.henderson@linaro.org> References: <20200610203942.887374-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::543; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x543.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: =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= 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 Fixes: 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 --- v2: Use the new add_to function. --- configure | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/configure b/configure index 464202e375..8b33447048 100755 --- a/configure +++ b/configure @@ -2035,6 +2035,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"