search for: 997809

Displaying 1 result from an estimated 1 matches for "997809".

Did you mean: 97809
2008 Mar 12
9
[LLVMdev] Language lawyer question
Looking through the gcc testsuite turned up an interesting edge case. Let's assume our target leaves a hole for alignment in struct x, as do x86 and powerpc. Do you think the following code can validly abort? struct x { char c; short s; }; int i; char *p; memset(&X, 0, sizeof(struct x)); memset(&Y, 22, sizeof(struct x)); X = Y; for (i=0, p=(char *)&X;