aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-09-26 16:42:27 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-10-09 13:39:16 +0100
commit6ce1df379a64439ea429b6c5834e9f853d520112 (patch)
tree60c3368a2dc4b16469e9344339ecc9fe452ffeed /gcc
parent2eaae1bd69302efe6d73d8d63739b081299f8641 (diff)
downloadgcc-6ce1df379a64439ea429b6c5834e9f853d520112.zip
gcc-6ce1df379a64439ea429b6c5834e9f853d520112.tar.gz
gcc-6ce1df379a64439ea429b6c5834e9f853d520112.tar.bz2
libstdc++: Simplify std::aligned_storage and fix for versioned namespace [PR61458]
This simplifies the implementation of std::aligned_storage. For the unstable ABI it also fixes the bug where its size is too large when the default alignment is used. We can't fix that for the stable ABI though, so just add a comment about the bug. libstdc++-v3/ChangeLog: PR libstdc++/61458 * doc/doxygen/user.cfg.in (GENERATE_BUGLIST): Set to NO. * include/std/type_traits (__aligned_storage_msa): Remove. (__aligned_storage_max_align_t): New struct. (__aligned_storage_default_alignment): New function. (aligned_storage): Use __aligned_storage_default_alignment for default alignment. Replace union with a struct containing an aligned buffer. Improve Doxygen comment. (aligned_storage_t): Use __aligned_storage_default_alignment for default alignment.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions