https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61458
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:6ce1df379a64439ea429b6c5834e9f853d520112 commit r15-4207-g6ce1df379a64439ea429b6c5834e9f853d520112 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Sep 26 16:42:27 2024 +0100 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.