[LLVMdev] Cygwin llvm-gcc regression

Duncan Sands baldrick at free.fr
Fri Jan 8 23:59:50 PST 2010


Hi Aaron,

> assertion "(!TYPE_SIZE(Tr) || !Ty->isSized() || !isInt64(TYPE_SIZE(Tr), 
> true) ||
>  getInt64(TYPE_SIZE(Tr), true) == 
> getTargetData().getTypeAllocSizeInBits(Ty)) &&
>  "LLVM type size doesn't match GCC type size!"" failed: file 
> "/home/ang/svn/llvm
> -gcc/gcc/llvm-types.cpp", line 83
> 
> This assertion has not changed from the past and am not sure what is 
> causing this.

this means that gcc and llvm disagree about how big a type is.  It is
probably caused by llvm thinking long double has size 12 (or 16), while
cygwin gcc thinks it is 16 (or 12).

Ciao,

Duncan.



More information about the llvm-dev mailing list