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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs