From nobody Thu May 16 06:59:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1591242371; cv=none; d=zohomail.com; s=zohoarc; b=ZhqKDPE9mmYmgz30xuyLqb8lmJICn94Dak3oXWkw3v/M+u+c2Ly3KsIyRBCiZbQZ1RUApTemusFO38rh2ipXo9D1g+x7oT9DjWTPvYRboM/yF7+zNt0RIVVJ0/he4TJeeqQPuTiZMQm0gZm5e5Juunwe36iqG5dri/BqhPof8Gw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591242371; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=48Nkai7QMgm5/xgRcH8NnoLnhaSYi6y1dsmgIS3rtNE=; b=A1K2YzG7JzUKLjgslRP3YlKLpaP9ZcREA+vemEzDkn0pU6n6STKrW8Dia+aSwTwfyzn2qCCa5yCsIdqGolAW+YKj2aZ07SLQBCcPjE0Q1fF80Fy3jNsLe0IwuU4zrovBmWbB+bBoD8NX+eT6oPGOd7AFTLsAFX0Leja6Fj1msVs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.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 1591242371094528.308449589042; Wed, 3 Jun 2020 20:46:11 -0700 (PDT) Received: from localhost ([::1]:44000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jggpV-0006z7-HL for importer@patchew.org; Wed, 03 Jun 2020 23:46:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jggoi-0006Q7-8h for qemu-devel@nongnu.org; Wed, 03 Jun 2020 23:45:20 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:45607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jggof-0006BN-CP for qemu-devel@nongnu.org; Wed, 03 Jun 2020 23:45:19 -0400 Received: by mail-pg1-x544.google.com with SMTP id n23so2896799pgb.12 for ; Wed, 03 Jun 2020 20:45:16 -0700 (PDT) Received: from f32.twiddle.net (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id z11sm3131220pfk.141.2020.06.03.20.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 20:45:14 -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:mime-version :content-transfer-encoding; bh=48Nkai7QMgm5/xgRcH8NnoLnhaSYi6y1dsmgIS3rtNE=; b=tidE/WKWWfdPw8vK5onzay1Ndvv8EU/4damO6kGYKVi7UohY7acKMnFsu9IP7mPn4E 9HAAdlEMFbSzOJmE/M+/youR95y5tD+Y/5dKMB15GZMoK7KgChLIfsc/5XlU5JYYvd6v 2m5JobX1bP5V6N5euMr2Pk13sersrdloOJP5NzKe8LGYLjLIP9XforlAMfy6nA5vvXtB GBBSyWtYJEBDU7jzHBB8vmFGVQ3v27fWLS6K8IpAyHTUj09i9zQ4R+ygAilXcjs8kpuJ W1S23Kb6jnBf78fGRcR5g0PclOVAhmw1l0fBV2AgLVwDem+zBKNPYf8YUSd/Q20RqJsH /50A== 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:mime-version :content-transfer-encoding; bh=48Nkai7QMgm5/xgRcH8NnoLnhaSYi6y1dsmgIS3rtNE=; b=DVFDbVUhD9E0dAKs6WwPhRKfOwxhhFCfa1rGDD55ch1GrGOHQWCUSHpnEEo/jJwrcb Ok6Sd+q8TYOLlMEcE/huY2PJ5g4vqk8eTnMzd6vHbniDsnNRKTAEX6u72XqhL4M224po 1XsAumxk4amVw0aVKz3vxOiP52ZWGnXF95/62UA/yyuM8QuCObOCqsbEk4Qvy3Ii08iI IOW89h5EIGXjxDuV9w6817EL2RFurEHrzneIPksQmHY7yGYhC4JLOjaEK/Zz3c9oDYRz hNFPJ7kHkLKyLHmAatLfbhl7iX7KjGg5mouhPH1ZwkRalu/JHMpfTnswr5jXaJyryRNe 03gw== X-Gm-Message-State: AOAM53389ouFbDMVR6b1oIxaLkrlWbrrwIVsU1KPFH4kKXnYsAc4yo8r mAr2/gNkZ0diXM63t90X5ye6PBRPZ/E= X-Google-Smtp-Source: ABdhPJw51Ys+fpjriGBqeZxuX/Xsrq+aSoigbcjgs6etkNmPcue7XLhyFQRZUGUL9xZoxc09iZmZfA== X-Received: by 2002:aa7:8d8a:: with SMTP id i10mr2234912pfr.193.1591242315345; Wed, 03 Jun 2020 20:45:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH] configure: Disable -Wtautological-type-limit-compare Date: Wed, 3 Jun 2020 20:45:13 -0700 Message-Id: <20200604034513.75103-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=2607:f8b0:4864:20::544; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x544.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_PASS=-0.001, URIBL_BLOCKED=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: thuth@redhat.com 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" 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. Signed-off-by: Richard Henderson Acked-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Alex Benn=C3=A9e Tested-by: Philippe Mathieu-Daud=C3=A9 --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index f087d2bcd1..693f01327f 100755 --- a/configure +++ b/configure @@ -2009,6 +2009,8 @@ gcc_flags=3D"-Wno-missing-include-dirs -Wempty-body -= Wnested-externs $gcc_flags" gcc_flags=3D"-Wendif-labels -Wno-shift-negative-value $gcc_flags" gcc_flags=3D"-Wno-initializer-overrides -Wexpansion-to-defined $gcc_flags" gcc_flags=3D"-Wno-string-plus-int -Wno-typedef-redefinition $gcc_flags" +gcc_flags=3D"$gcc_flags -Wno-tautological-type-limit-compare" + # Note that we do not add -Werror to gcc_flags here, because that would # enable it for all configure tests. If a configure test failed due # to -Werror this would just silently disable some features, --=20 2.26.2