[LLVMbugs] [Bug 3607] New: crash on bitfield with incomplete type
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 17 13:34:27 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3607
Summary: crash on bitfield with incomplete type
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang crashes on this
--
enum e0;
struct s0 {
enum e0 f : 1;
};
--
It would be nice to get gcc's extra warning here about width:
--
ddunbar at lordcrumb:Sema$ gcc -fsyntax-only boom.c
boom.c:3: warning: 'f' is narrower than values of its type
boom.c:3: error: field 'f' has incomplete type
--
--
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.
More information about the llvm-bugs
mailing list