ISSUE: line 474 of InstrSelectionSupport.cpp is a conditional expression of the form (<expr> ? (ConstantSInt*) : (ConstantUInt*)), which is an unholy mixture of pointer types. ACTION: Apply static_cast<Value*> to the two pointers, as the source intends. -- Casey Carter Casey at Carter.net ccarter at uiuc.edu AIM: cartec69 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20020917/40ca0845/attachment.ksh>
> ISSUE: line 474 of InstrSelectionSupport.cpp is a conditional expression > of the form (<expr> ? (ConstantSInt*) : (ConstantUInt*)), which is an > unholy mixture of pointer types.Actually, it's a GCC 2.96 bug. They have a common base class, which they should be promoted to, but aren't. Fixed thusly: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20020916/000279.html -Chris http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/
Apparently Analagous Threads
- [LLVMdev] Dynamic Creation of a simple program
- [LLVMdev] Accessing constant indexes in GetElementPtr
- [LLVMdev] Accessing constant indexes in GetElementPtr
- [LLVMdev] 1.9 Prerelease Available for Testing
- [LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared (first use this function)