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

           Summary: pow is transformed to exp2 in -std=gnu89 mode
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I got undefined reference to `exp2' from this line of code:

r->f = a->f * pow(2., n.f);

exp2 doesn't seem to be in the C89 standard, so this transformation is a bug
most likely.

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