[LLVMbugs] [Bug 11847] Crash on invalid in Microsoft anonymous struct extension
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 17 14:34:31 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=11847
Fariborz Jahanian <fjahanian at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |fjahanian at apple.com
Resolution|FIXED |---
--- Comment #1 from Fariborz Jahanian <fjahanian at apple.com> ---
Here is a related test case which crashes with -fms-extensions.
I am not sure what the treatment should be. Two possibilities:
1) Issue error when used in sizeof.
2) Just like c/c++'s undefined struct ignore it when used in sizeof.
struct anon_fault {
struct undefined;
};
int main()
{
return sizeof(struct anon_fault);
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140917/fb0b491d/attachment.html>
More information about the llvm-bugs
mailing list