http://llvm.org/bugs/show_bug.cgi?id=11486
Bug #: 11486
Summary: union { struct { }; } foo = { .bar = 0 };
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 7676
--> http://llvm.org/bugs/attachment.cgi?id=7676
Clang's error dump
That's about it.
$ cat >kill-clang.c
union { struct { }; } foo = { .bar = 0 };
$ clang -c kill-clang.c
<<long error dump (attached)>>
Another variation that seems to cause the same crash:
int x = (union { struct { }; }) { .bar = 0 };
$ clang --version
clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs