Morten Ofstad
2004-Oct-18 09:04 UTC
[LLVMdev] Problem with 'const' in lib/Transforms/Utils/PromoteMemoryToRegister.cpp
at line 216 'S' is declared with 'const' qualifier const DominanceFrontier::DomSetType &S = it->second; a few lines later an iterator over this set is asked for, instead of a const_iterator -- Visual C (rightfully) flags this as an error. Here is a patch... m. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041018/96d23140/attachment.txt>
Seemingly Similar Threads
- Miscompilation bugs in GVN.cpp and PromoteMemoryToRegister.cpp?
- Miscompilation bugs in GVN.cpp and PromoteMemoryToRegister.cpp?
- Miscompilation bugs in GVN.cpp and PromoteMemoryToRegister.cpp?
- Miscompilation bugs in GVN.cpp and PromoteMemoryToRegister.cpp?
- [LLVMdev] How to get the const argument data from Function?