[LLVMbugs] [Bug 4456] New: static float __attribute__((aligned(16)))

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 26 03:21:20 PDT 2009


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

           Summary: static float __attribute__((aligned(16)))
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


lev /tmp$ cat clang-bug2.c                                                     
                                   static float __attribute__((aligned(16)))
sseSinCos1c[256];

lev /tmp$ clang -c clang-bug2.c && nm clang-bug2.o

lev /tmp$ gcc -c clang-bug2.c && nm clang-bug2.o
0000000000000000 b sseSinCos1c

lev /tmp$ 

as you can see the static float __attribute((aligned(16))) variable is compiled
out of the object file. gcc puts it in the object file just fine.

this is mplayer thing


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