[LLVMbugs] [Bug 6522] New: clang emits U symbol for builtin_copysignl while gcc does not

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 6 04:01:27 PST 2010


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

           Summary: clang emits U symbol for builtin_copysignl while gcc
                    does not
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


pes delta$ cat divxc3.c
void foo(float a, float b, float c, float d) {
      float y = __builtin_copysignl (0, c) * b;
}
pes delta$ gcc -std=c99 -c divxc3.c && nm divxc3.o | grep copy
pes delta$ clang -std=c99 -c divxc3.c && nm divxc3.o | grep copy
                 U copysignl

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