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

             Bug #: 12790
           Summary: error: cannot compile this complex compound assignment
                    yet
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Code similar to

int main(void){
  long double res, ld = 1.L;
  long double _Complex ldcx = 1.L;
  res = ld += ldcx;
  res = ld -= ldcx;
  res = ld *= ldcx;
  res = ld /= ldcx;
  return 0;
}
Gets the error message in the summary.  
This is C99 code with command line option -std=c1x
It is not unique to 'long double'.  Any floating-point
type causes the problem.
This happens on both 32-bit and 64-bit versions of Fedora
Core Linux 17 with clang 3.0-12 on Intel Core i5 chips.

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