[LLVMbugs] [Bug 2643] New: bitfield initialization triggers assertion

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Aug 5 14:34:36 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2643

           Summary: bitfield initialization triggers assertion
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


The following code triggers an assertion in clang (with --emit-llvm):

typedef struct _phar_entry_info {
        int is_modified:1;
        int is_deleted:1;
} phar_entry_info;

void phar_mount_entry() {
        phar_entry_info entry = {0};
}


-- 
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