[llvm-commits] [llvm-gcc-4.2] r46157 - in /llvm-gcc-4.2/trunk/gcc/config/i386: llvm-i386-target.h llvm-i386.cpp

Duncan Sands baldrick at free.fr
Fri Jan 18 01:39:40 PST 2008


Hi Evan,

> Do not pass zero sized array, struct, or class using byval attribute. This is true on both x86-32 and x86-64.

is this because LLVM can't handle it, or is it an optimization?
If LLVM can't handle passing zero-sized objects using byval, that
sounds like a bug...

Thanks,

Duncan.



More information about the llvm-commits mailing list