[LLVMbugs] [Bug 11337] New: Type of bitfield

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 8 08:45:37 PST 2011


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

             Bug #: 11337
           Summary: Type of bitfield
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: etienne.bergeron at octasic.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The front-end should not accept bit field type:

struct S { unsigned int x : 2; } s;
typedef typeof(s.x) INT2;

INT2 foo(INT2 x) 
{    
  return x + 1;
}

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