This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5633: bool is too big
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, harald dot soleng at nr dot no, nobody at gcc dot gnu dot org
- Date: 8 Feb 2002 11:16:54 -0000
- Subject: Re: c++/5633: bool is too big
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, harald dot soleng at nr dot no, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: bool is too big
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Feb 8 03:16:52 2002
State-Changed-Why:
From http://www.codesourcery.com/cxx-abi/abi.html,
which describes the ABI in gcc 3.0 and above,
2.2 POD Data Types
The size and alignment of C POD types is as specified by the base (C) ABI. Type bool has size and alignment 1. All of these types have data size and non-virtual size equal
to their size. (We ignore tail padding for PODs because the Standard does not allow us to use it for anything else.)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5633