search for: ef90cc14

Displaying 2 results from an estimated 2 matches for "ef90cc14".

2008 Mar 12
0
[LLVMdev] Language lawyer question
...___ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080311/ef90cc14/attachment.html>
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;