From nobody Tue May 10 23:23:55 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D2F6E1AD7655; Tue, 10 May 2022 23:23:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KyYyN2V6hz4bbk; Tue, 10 May 2022 23:23:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SVccIa1qtL+9Uz+Htbh95ZISltGAGJs5TSw7JXTYZHM=; b=CEn81bltxGNX2ja9qDOATe7tKtRtuI4ifNhcCbgRsQOUC8miYeH0cMwGWGc0JwDkC1qlHM JewwQjqr3JuXk/YNQbkHXGst7zpyL8mUu7Yont556x8S/x/ygfOH7MxuKmaZamJ4vxW/0k TqrFMU1l6r8vYK8rED/GGUbYR1BX4Srn9ymo9mWZRcQf/JFcBaZQx3IS4s+4JeSxmkVLar V2BAomjbYnFlYK2KMPda5Ncn8ATD5YsZXcqxz9qYQ0xhv+XnD0WwYYI/jfNXiYwA0v+OE3 oodsg0ETHRuadfPL6GYTTWI4monMvol1Jg8z3SfC8remRDrrKvpF4Dy9mHO3wQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8D466CA3; Tue, 10 May 2022 23:23:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24ANNtlh072137; Tue, 10 May 2022 23:23:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ANNt4C072136; Tue, 10 May 2022 23:23:55 GMT (envelope-from git) Date: Tue, 10 May 2022 23:23:55 GMT Message-Id: <202205102323.24ANNt4C072136@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 5cf638d0049e - stable/13 - Disable -Woverflow errors for i386 for GCC 9. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 5cf638d0049e0dceffe5076bf416b1844fe8e827 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SVccIa1qtL+9Uz+Htbh95ZISltGAGJs5TSw7JXTYZHM=; b=E2bGq4AgFzUYQf/UiVwjswLPFwEwEJcJBG2WBMHc3TWKtJQs1r9T43axhBSSjuHAw9WTlQ Uts60lQfhhVFAw3h/9YxFPJxiExA4WHjl+bmcB7Df+O5CWwcPpagQs+nINYl9DsyrDJ/dy LKh7xKuHlINCqrPEAlhkjNIX0f0dk4/7hefxx7aM9PwzitYe8WVwDglAFDwC4xj9NW9Y4n kmwJCKm2I2dFup3z2E8erbq3iyAW72eM14xqvMIYKj+I/piexB8cZPSKHKcdxLEVpS84v0 uMkpREosH/fBxq7YAGi9OgIU7otqwe0UlbfPyA4hLtOBn6+GXoU+W+wQhcsMvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652225036; a=rsa-sha256; cv=none; b=rnprZU/HuYvep41jitSqLPgOlkTY9jZDpl0GvUY3E2PAAL3p24Ao/EiMS0VZTnjCp3QzFK bjD6gNACY78WUlZQ3Se7psdAFHomPLMZLCprLgBo00c/FewwcAzTW9wFHJ5U3s9sfKdcTm SCHSquJFPPT/ZsaztX4zBs0eHMwzGhM4z3BgkeMdfdRNaU+pgXYBngwZh3DZbhQNJVQl65 pxPEmfx2GeftNLGJJM1mcZaXd3bjBgXv15pJuWysjfgUzzrt5HJOZbonsh28OFQCrUAkHi B78bXhHw5J9/6pb4JvDsTD9r2vSG4RGONrlKMT7V+1lXqxjyRf67bETdu6eugw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=5cf638d0049e0dceffe5076bf416b1844fe8e827 commit 5cf638d0049e0dceffe5076bf416b1844fe8e827 Author: John Baldwin AuthorDate: 2021-09-13 18:00:38 +0000 Commit: John Baldwin CommitDate: 2022-05-10 21:01:02 +0000 Disable -Woverflow errors for i386 for GCC 9. GCC 9 warns about floating point constants overflowing for i386. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D26201 (cherry picked from commit 93d6fa53c9951563be3081a347cc4dc1917ad452) --- share/mk/bsd.sys.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 3bbe7aa849b4..50039a1f5f63 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -199,6 +199,13 @@ CWARNFLAGS+= -Wno-error=aggressive-loop-optimizations \ -Wno-error=stringop-truncation .endif +# GCC 9.2.0 +.if ${COMPILER_VERSION} >= 90200 +.if ${MACHINE_ARCH} == "i386" +CWARNFLAGS+= -Wno-error=overflow +.endif +.endif + # GCC's own arm_neon.h triggers various warnings .if ${MACHINE_CPUARCH} == "aarch64" CWARNFLAGS+= -Wno-system-headers