[LLVMdev] Latest build warnings
Garrison Venn
gvenn.cfe.dev at gmail.com
Mon Dec 27 16:18:27 PST 2010
Running a build on r122586, gave me the following warnings with:
gcc version 4.2.1 (Apple Inc. build 5664)
===================================================
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:82: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:106: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp: In function ‘llvm::Value* FactorizeBinOp(unsigned int, llvm::Value*, llvm::Value*, unsigned int, const llvm::TargetData*, const llvm::DominatorTree*, unsigned int)’:
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:145: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:146: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp: In function ‘llvm::Value* SimplifyAssociativeBinOp(unsigned int, llvm::Value*, llvm::Value*, const llvm::TargetData*, const llvm::DominatorTree*, unsigned int)’:
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:218: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:237: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:260: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/Analysis/InstructionSimplify.cpp:279: warning: comparison between signed and unsigned integer expressions
<dir>/llvm/lib/CodeGen/RegAllocGreedy.cpp:382: warning: ‘BestWeight’ may be used uninitialized in this function
<dir>/llvm/lib/CodeGen/RegAllocGreedy.cpp:382: note: ‘BestWeight’ was declared here
<dir>/llvm/lib/MC/TargetAsmBackend.cpp:34: warning: comparison between signed and unsigned integer expressions
===================================================
Garrison
More information about the llvm-dev
mailing list