[LLVMbugs] [Bug 8837] New: cannot compile this complex compound assignment yet

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 21 06:46:45 PST 2010


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

           Summary: cannot compile this complex compound assignment yet
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bugzilla at lklundin.dk
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5914)
 --> (http://llvm.org/bugs/attachment.cgi?id=5914)
Two unsupported complex compound assignments

The attachment compiles with gcc, but with clang the below error occurs:

$ /usr/bin/clang -o /dev/null -c complex_add_assign.c 
complex_add_assign.c:9:9: error: cannot compile this complex compound
assignment yet
        *pf++ += *pfc++;
        ^~~~~~~~~~~~~~~
complex_add_assign.c:11:5: error: cannot compile this complex compound
assignment yet
    *pf += *pfc;
    ^~~~~~~~~~~
2 errors generated.

The PC runs Ubuntu 10.10,
$ /usr/bin/clang -v
clang version 2.8 (branches/release_28)
Target: x86_64-pc-linux-gnu
Thread model: posix

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