Re-add release notes for GCC ABI compatibility for non-POD in packed structs

This commit is contained in:
David Blaikie 2022-05-22 01:15:34 +00:00
parent 52d509f38b
commit 0b903ef6aa
1 changed files with 6 additions and 0 deletions

View File

@ -424,6 +424,12 @@ OpenCL C Language Changes in Clang
ABI Changes in Clang
--------------------
- 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``.
OpenMP Support in Clang
-----------------------