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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to