[PATCH] D117616: GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs
Matthias Braun via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 14:41:57 PDT 2022
MatzeB added inline comments.
Herald added a project: All.
================
Comment at: clang/docs/ReleaseNotes.rst:239-243
+- GCC doesn't pack non-POD members in packed structs unless the packed
+ attribute is also specified on the member. Clang historically did perform
+ such packing. Clang now matches the gcc behavior (except on Darwin and PS4).
+ You can switch back to the old ABI behavior with the flag:
+ ``-fclang-abi-compat=13.0``.
----------------
Ugh... The release notes went missing in `main` now:
* We had them in clang-14, but then reverted in the release process of clang-14 so they never showed for clang-14.
* In `main` we removed all release nodes when going from 14->15.
So this notice is effectively lost now...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117616/new/
https://reviews.llvm.org/D117616
More information about the cfe-commits
mailing list