Date: Thu, 20 Nov 2025 16:52:28 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 39cad8402d19 - main - max_align_t: apply alignof to 'long double' for long double alignment Message-ID: <691f474c.3e474.14a87b7c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=39cad8402d19f361cb8d489a3a69ff94b643c6df commit 39cad8402d19f361cb8d489a3a69ff94b643c6df Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-11-19 14:51:54 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-11-20 16:52:10 +0000 max_align_t: apply alignof to 'long double' for long double alignment Reviewed by; markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D53826 --- sys/sys/_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/_types.h b/sys/sys/_types.h index fe345b43d5eb..6b70b8dc6e32 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -183,7 +183,7 @@ typedef struct { __attribute__((__aligned__(__alignof__(long long)))); #ifndef _STANDALONE long double __max_align2 - __attribute__((__aligned__(__alignof__(long long)))); + __attribute__((__aligned__(__alignof__(long double)))); #endif } __max_align_t;help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?691f474c.3e474.14a87b7c>
