From nobody Sat Jul 01 19:23:20 2023 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 4QthtJ3yqgz4l9H3; Sat, 1 Jul 2023 19:23:20 +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 4QthtJ3R0Rz4YxK; Sat, 1 Jul 2023 19:23:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688239400; 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=tIH9DLnFUiOLHbBj45p03AGaBe9QUYs2J2omQgZ4C3A=; b=EvW3j6hNOEHTNH5FeBs8CCnI91awnQrYBa/m5d9XYB03TJ6R0zwuiySeX9l6LKJdn+oZTI toxD/DRyFZcwthgOmAGmmRKEAZyn11IPE5waahK5DIGItyYmfegxZS5rmzNz+Mda+PRD16 2+x6+gYHjmbVLMJ6yAS6NE6q8Qtkp9XYKU7Vj7TA4CtWjkm3CoOOwcRljNYYDZpRibCyQG bRt0hcaWHYmUiTz9+G9I7XGhoxdPaQwglXzDpxTU8xFszNf7kELrCSbqBqFB5TjTyWtodz pv8p1v5kI8EpM8EHC7ICXA6d+Mn9AyMqKGWr1FoCQRsREzOSe+7CASbKnAR0HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688239400; 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=tIH9DLnFUiOLHbBj45p03AGaBe9QUYs2J2omQgZ4C3A=; b=JnKGCojMg1IuM8oXpU+a4h4aw7ly7KAQ8fPrvSifQ4ptdD1DZXrlG+I05rld/yOa0QHuCH zMAoMmNZOxpe9z3AUSdfW8AsegHVRBMQVkjYvyDBGL3VC3vw2N4oV1cTeeHEkkmFNbpkrU StXNfD2Jg8rDPnDHqtIjYOcpij1HHkNAAEIpUWiHcL8UsZLYVTTTX8AceII+FLlmWgY5Ep giyRCHAL+W3oATeYkxAQXqzUd0HAs+75YiXAkAo8msYJfNU37qWcYyNW/Di8wyfM8hmWn7 XD/qvr2DsYAA6BN0pY8bcaFn9X9XhYXo8I4c8jjfP3sJ2EQjqaJPpYLuhMrAYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688239400; a=rsa-sha256; cv=none; b=PXsRhsBVYq0d3wDQ2Xof51pw8XGc4DnUq6iw5mntBjj3tpshFTcwMerDYfY52asR79O1UW rGrSjaLyUYEDRACTxaZc/RBC2G2oOmpdsrzrgB8duPxMgRokjHwCKXUSjyhr0KvLT7Ku1E ZWsLIpvVrI7dovdkp4K4u8kvPAKOSyDynDQd9LIqQ9stQOL5BjtHBTYj+PxfYfx+28YdJ8 Idmm+HbS9CiNsChEvMwlMK1UQyyho9DJjQsZl/UO7Ot+k1aSA2ogM3aF4J+Q2mCTye3pKK Nrlm1cswMDPSvu/jatfUXqtWY7iTv1rN/KwUtkoxQbhfDpIaebyOuhABkXM3fQ== 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 4QthtJ2RQYzd0J; Sat, 1 Jul 2023 19:23:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 361JNKFj070308; Sat, 1 Jul 2023 19:23:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 361JNKf8070307; Sat, 1 Jul 2023 19:23:20 GMT (envelope-from git) Date: Sat, 1 Jul 2023 19:23:20 GMT Message-Id: <202307011923.361JNKf8070307@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: ec41a96daaa6 - main - sys: Switch the kernel's C standard from C99 to GNU99. 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/main X-Git-Reftype: branch X-Git-Commit: ec41a96daaa6e401bc0d4ba71d9cf37a1d79fc86 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ec41a96daaa6e401bc0d4ba71d9cf37a1d79fc86 commit ec41a96daaa6e401bc0d4ba71d9cf37a1d79fc86 Author: John Baldwin AuthorDate: 2023-07-01 19:21:13 +0000 Commit: John Baldwin CommitDate: 2023-07-01 19:21:13 +0000 sys: Switch the kernel's C standard from C99 to GNU99. This matches the default used in userland, and the kernel already depends on various GNU extensions to standard C that are supported by both clang and GCC. This should be a no-op for clang, but for GCC it enables some GNU extensions that aren't otherwise enabled. It also enables GCC for i386 to avoid the need for a floatundidf intrinsic in libkern. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D40646 --- sys/conf/kern.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 9e977a6e4a01..51bbfcbaa617 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -278,7 +278,7 @@ PHONY_NOTMAIN = afterdepend afterinstall all beforedepend beforeinstall \ .PHONY: ${PHONY_NOTMAIN} .NOTMAIN: ${PHONY_NOTMAIN} -CSTD= c99 +CSTD= gnu99 .if ${CSTD} == "k&r" CFLAGS+= -traditional