git: 56114d2a68d9 - stable/15 - max_align_t: apply alignof to 'long double' for long double alignment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Nov 2025 15:57:22 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=56114d2a68d9bcf86322fa6642be2af0e2fd183a
commit 56114d2a68d9bcf86322fa6642be2af0e2fd183a
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-11-19 14:51:54 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-11-27 15:56:57 +0000
max_align_t: apply alignof to 'long double' for long double alignment
(cherry picked from commit 39cad8402d19f361cb8d489a3a69ff94b643c6df)
---
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;