[LLVMbugs] Front-end bug in copying structure through va_arg

Chris Lattner sabre at nondot.org
Fri May 30 13:20:43 PDT 2003


> The following assignment:
>     typedef struct LargeS_struct { int i; double d; double x; int j; } LargeS;
>     LargeS ls;
>     ls = va_arg(ap, LargeS);
> causes the C front-end to fail with the error message:
>     cc1: ../../gcc/llvm-expand.c:2166: llvm_store_expr: Assertion `Val == 0 && "Structure value returned a value??"' failed.

This is now fixed, sorry for the delay.

-Chris




More information about the llvm-bugs mailing list