http://llvm.org/bugs/show_bug.cgi?id=3980
Summary: clang aborts on tentative definition with incomplete
type
Product: clang
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When processing a tentative definition with a currently incomplete type, clang
tries to emit the code immediately and fails.
E.g.
struct foo x;
struct foo { int a; };
It should be equivalent to a definition with the type as known at the end of
the file (C99 6.9.2p2 I think).
Daniel Dunbar made a brief comment on the problem at
http://llvm.org/bugs/show_bug.cgi?id=3461#c5.
--
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