http://llvm.org/bugs/show_bug.cgi?id=15963
Bug ID: 15963
Summary: Bug 15961 - 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 10493
--> http://llvm.org/bugs/attachment.cgi?id=10493&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:
subq $24, %rsp
movl $97, %esi
movl $.LC0, %edi
xorl %eax, %eax
movb $98, 9(%rsp)
call printf
movsbl 9(%rsp), %esi
movl $.LC0, %edi
xorl %eax, %eax
call printf
xorl %eax, %eax
addq $24, %rsp
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