[LLVMbugs] [Bug 8956] New: asm labels are ignored for static local variables
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 11 07:26:33 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=8956
Summary: asm labels are ignored for static local variables
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: abramobagnara at tin.it
CC: llvmbugs at cs.uiuc.edu
$ cat t.c
int f() {
static int x asm("qq");
return x;
}
$ clang -c t.c
$ nm t.o
0000000000000000 T f
0000000000000000 b f.x
$ gcc -c t.c
$ nm t.o
0000000000000000 T f
0000000000000000 b qq
No symbol called qq has been created by clang.
--
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