[LLVMdev] Warning in LLVM

Jay Foad jay.foad at gmail.com
Wed Mar 30 08:36:41 PDT 2011


On 14 March 2011 22:43, Renato Golin <rengolin at systemcall.org> wrote:
> When compiling LLVM on my Intel(R) Core(TM)2 Duo CPU P7450 running
> Ubuntu (gcc 4.4.5), I get this warning:
>
> /home/rengolin/workspace/llvm/rw/build/Release+Asserts/lib/libLLVMARMAsmParser.a(ARMAsmParser.o):
> In function `(anonymous
> namespace)::ARMAsmParser::ParseRegisterList(llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&)':
> ARMAsmParser.cpp:(.text+0x4a05): warning: memset used with constant
> zero length parameter; this could be due to transposed parameters

I was seeing something similar. Should be fixed here:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110328/118729.html

Jay.



More information about the llvm-dev mailing list