c++/5633: bool is too big
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Fri Feb 8 03:50:00 GMT 2002
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
More information about the Gcc-bugs
mailing list