This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5633: bool is too big
- From: harald dot soleng at nr dot no
- To: gcc-gnats at gcc dot gnu dot org
- Date: 8 Feb 2002 10:56:39 -0000
- Subject: c++/5633: bool is too big
- Reply-to: harald dot soleng at nr dot no
>Number: 5633
>Category: c++
>Synopsis: bool is too big
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Feb 08 03:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: harald.soleng@nr.no
>Release: gcc-2.95.3
>Organization:
>Environment:
sparc-solaris
>Description:
The bool variable takes up 4 bytes or 32 bits where 1 bit
is sufficient.
For large bool arrays this is a waste of memory.
Why not try to reduce this waste of memory?
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: