c++/5633: bool is too big
harald.soleng@nr.no
harald.soleng@nr.no
Fri Feb 8 03:17:00 GMT 2002
>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:
More information about the Gcc-bugs
mailing list