[LLVMbugs] Warnings

Chris Lattner sabre at nondot.org
Tue Mar 13 09:15:48 PDT 2007


On Fri, 9 Mar 2007, Anton Korobeynikov wrote:

> Hello, Everyone.
>
> I'm getting these warnings during fresh build:
>
> 1.
> /home/asl/proj/llvm/src/lib/ExecutionEngine/Interpreter/Execution.cpp:
> In member function `llvm::GenericValue
> llvm::Interpreter::executeIntToPtrInst(llvm::Value*, const llvm::Type*,
> llvm::ExecutionContext&)':
> /home/asl/proj/llvm/src/lib/ExecutionEngine/Interpreter/Execution.cpp:1065: warning: cast to pointer from integer of different size

I don't see this one anymore.  If it still exists, plz ping reid.

> 2.
> /home/asl/proj/llvm/src/lib/Transforms/Scalar/InstructionCombining.cpp:981: warning: 'bool MaskedValueIsZero(llvm::Value*, const llvm::APInt&, unsigned int)' defined but not used

I just fixed this one.  Reid/Sheng, plz be careful that you don't 
introduce warnings into the build.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-bugs mailing list