[LLVMbugs] [Bug 20471] vector<bool>::resize(N) segfaults for N > 2^32-2^6

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 28 08:04:10 PDT 2014


Marshall Clow (home) <mclow.lists at gmail.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Marshall Clow (home) <mclow.lists at gmail.com> ---
Turns out the problem was in __align_it, and was a mixed sized arithmetic

Fixed in revision 214088

A better solution might have been to declare vector<bool>::__bits_per_word as
'size_type' rather than 'unsigned', but I think that's an ABI change.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140728/ea8d1224/attachment.html>

More information about the llvm-bugs mailing list