This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53037] warn_if_not_aligned(X)
- From: "hpa at zytor dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Apr 2012 16:57:14 +0000
- Subject: [Bug c/53037] warn_if_not_aligned(X)
- Auto-submitted: auto-generated
- References: <bug-53037-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037
--- Comment #7 from H. Peter Anvin <hpa at zytor dot com> 2012-04-19 16:57:14 UTC ---
The __u64/__s64 types are used for interfaces only. The kernel itself is
x86-64 and uses aligned types for internal uses.
The mismatch between i386 and x86-64 alignment has a tendency to cause
unexpected bugs, and Linus would like to avoid those by having new interfaces
use aligned types consistently.