[LLVMbugs] [Bug 15961] New: Testcase we don't devirtualize
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri May 10 08:47:28 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15961
Bug ID: 15961
Summary: Testcase we don't devirtualize
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10492
--> http://llvm.org/bugs/attachment.cgi?id=10492&action=edit
testcase
This is extracted (and simplified a bit) from 8886 so that we have one case per
bug.
With gcc 4.8 the main function compiles down to just
main:
pushq %rbx
movl $3, %ebx
.L11:
xorl %eax, %eax
movl $3, %esi
movl $.LC0, %edi
call printf
subl $1, %ebx
jne .L11
xorl %eax, %eax
popq %rbx
ret
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130510/413b6d37/attachment.html>
More information about the llvm-bugs
mailing list