[LLVMbugs] [Bug 8695] New: clang crashes for objc method using a bitwise-struct with enum
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Nov 25 03:16:03 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8695
Summary: clang crashes for objc method using a bitwise-struct
with enum
Product: clang
Version: 2.8
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: Tam at SiuLung.com
CC: llvmbugs at cs.uiuc.edu
The following Objective-C program crashes clang 2.8:
typedef enum { A1, A2 } A;
typedef struct { A a : 1; } B;
@interface Obj { B *b; } @end
@implementation Obj @end
Crash happens at clang::ASTContext::getObjCEncodingForTypeImpl(clang:QualType,
std::string&, bool, bool, clang::FieldDecl const *, bool, bool).
Defining an objective-c message that takes in a (B *) parameter or returns (B
*) produces the same error.
--
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