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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 10 12:45:43 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: tydeman at tybor.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list