Warning in LLVM

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

Couldn't see anything special at 0x4a05, even because there was no
such address (it's not even aligned?). Also, nothing got my attention
on the source code, any ideas?

Hi Renato,

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

Couldn't see anything special at 0x4a05, even because there was no
such address (it's not even aligned?). Also, nothing got my attention
on the source code, any ideas?

a bunch of warnings of this kind were fixed recently by tweaking DenseMap.
Are you at top-of-tree?

Ciao, Duncan.

I was when I sent this email, I was doing the final update&check-all
for my commit yesterday.

cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm

I was seeing something similar. Should be fixed here:

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

Jay.