[LLVMbugs] [Bug 10223] New: Segmentation fault with inline assembly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 29 04:31:43 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10223
Summary: Segmentation fault with inline assembly
Product: clang
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sas at cd80.net
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6799)
--> (http://llvm.org/bugs/attachment.cgi?id=6799)
Stack trace of clang
The following C source makes clang segfault where it should just display an
error message and quit. Note that the second operand of the `mov` instruction
is %o instead of %0.
int main(void)
{
void *esp;
__asm__ volatile ("mov %%esp, %o" : "=r"(esp) : : );
return 0;
}
--
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