[Bug libstdc++/61458] std::aligned_storage is bigger than expected
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 31 12:12:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61458
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Hi Jon. Frankly Are you 100% sure (in terms of middle-end/back-end details)
that the maximum alignment supported for a type of less than 4 bytes is 4? In
that case, your proposal of using __aligned__((_Len)) certainly makes sense. I
wasn't sure at the time and picked a "safe" choice, probably should have
asked...
More information about the Gcc-bugs
mailing list