[LLVMbugs] [Bug 5215] New: __asm__ attribute not merged correctly
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Oct 16 13:52:54 PDT 2009
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: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
I think this is a recent regression, but I'm not sure.
--
ddunbar at ozzy-2:tmp$ cat t.c
void f0(void);
void f0(void) __asm__ ("foo");
void f0(void) { }
ddunbar at ozzy-2:tmp$ gcc -m32 -c t.c && nm t.o
00000000 T foo
ddunbar at ozzy-2:tmp$ clang -m32 -c t.c && nm t.o
00000000 T _f0
ddunbar at 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.
More information about the llvm-bugs
mailing list