[Bug libstdc++/16611] Terrible code generated for vector<bool>

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 18 08:10:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-04-18 08:10 -------
(In reply to comment #6)
> Hi. It can well be a libstdc++ problem, and indeed I can imagine ways to avoid
> signed integers in the code. However, I'm not sure that someone will actually
> do the work, given the soon-to-be-deprecated status of vector<bool>... 

This is news to me. Does this mean that vector<bool> is not going to be special-
cased any more? That seems like a very bad idea to me, since programs will
suddenly take 8 times as much memory (or even more). What's the rationale?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16611



More information about the Gcc-bugs mailing list