[Bug libstdc++/69152] _GLIBCXX_BITSET_BITS_PER_WORD is wrong for x32

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 5 22:16:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69152

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
This macro is about the typedef _WordT in bitset (currently "long", so
__SIZEOF_LONG__ is exactly what we want), not about the compiler notion of
"word". Using "long" for that typedef is suboptimal on x32, but also on win64.
I think there is already a PR asking to change it, but since it would break the
ABI...


More information about the Gcc-bugs mailing list