Skip to content

BitVector::resize does not initialize all new bits #1935

@llvmbot

Description

@llvmbot
Bugzilla Link 1563
Resolution FIXED
Resolved on Aug 06, 2007 15:56
Version unspecified
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

When resizing a BitVector that does not cause new allocations (say, resizing from 16 to 20 bits),
BitVector::resize fails to initial the four bits that are now being used. This can lead to inappropriate
behavior, and is preventing GVNPRE from using BitVectors are aggressively as would be possible.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzilla

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions