[LLVMdev] "Value has wrong type!" on Bool:4 bitfield

Jay Foad jay.foad at gmail.com
Thu Jan 7 06:40:42 PST 2010


> cc1plus: /home/foad/svn/antix/toolchain/branches/w/foad/2757llvm26/toolchain/llvm/llvm-gcc/gcc/llvm-convert.cpp:999:
> llvm::Value* TreeToLLVM::Emit(tree_node*, const MemRef*): Assertion
> `(Result == 0 || (((enum tree_code)
> (((exp)->common.type))->common.code) == VOID_TYPE) ||
> isa<VectorType>(ConvertType(((exp)->common.type))) ||
> Result->getType() == ConvertType(((exp)->common.type))) && "Value has
> wrong type!"' failed.

I see that this was addressed here:

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

Sorry for the noise again!

Jay.



More information about the llvm-dev mailing list