[LLVMbugs] [Bug 7889] New: Assertion `isSimple()' failed with assignment to bitfield assignment

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 14 15:26:32 PDT 2010


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

           Summary: Assertion `isSimple()' failed with assignment to
                    bitfield assignment
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Testcase:
struct A {
  int j: 2;
};
int main() {
  A a;
  (a.j = 2) = 3;
}

Crashes with:
clang: CGValue.h:211: llvm::Value* clang::CodeGen::LValue::getAddress() const:
Assertion `isSimple()' failed.

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