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

           Summary: __asm__ attribute not merged correctly
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


I think this is a recent regression, but I'm not sure.
--
ddun...@ozzy-2:tmp$ cat t.c
void f0(void);
void f0(void) __asm__ ("foo");
void f0(void) { }
ddun...@ozzy-2:tmp$ gcc -m32 -c t.c && nm t.o
00000000 T foo
ddun...@ozzy-2:tmp$ clang -m32 -c t.c && nm t.o
00000000 T _f0
ddun...@ozzy-2:tmp$ 
--


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