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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs