Displaying 1 result from an estimated 1 matches for "_largestruct".
Did you mean:
t_largestruct
2010 Aug 15
0
[LLVMdev] Alloca management responsiblity
Hi,
Consider this code:
***
typedef struct _largestruct {
char a[1019];
} t_largestruct;
extern t_largestruct funclarge(void);
int test(void)
{
char c;
c=funclarge().a[0];
c+=funclarge().a[1];
return c;
}
***
When compiled for Darwin/x86_86 with either Clang or GCC and LLVM 2.7, the frontends (via alloca) and subsequently LLVM (on the cpu...