[LLVMbugs] [Bug 6900] New: Can't compile compound expressions as lvalues

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 22 20:41:51 PDT 2010


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

           Summary: Can't compile compound expressions as lvalues
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dgregor at apple.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
            Blocks: 6023


cove:clang dgregor$ cat t2.C
void f(int i, int j, int k) {
  (i += j) += k;
}
cove:clang dgregor$ clang++ t2.C
t2.C:2:4: error: cannot compile this l-value expression yet
  (i += j) += k;
   ^~~~~~
1 error generated.

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