http://llvm.org/bugs/show_bug.cgi?id=11625
Bug #: 11625
Summary: Excessive inlinine with Os
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 7775
--> http://llvm.org/bugs/attachment.cgi?id=7775
codegen
As the codegen shows, clang -Os -flto -m32 -lstdc++ inlines test_function()
even though it is clearly larger than the cost of the call and it is called
more than once.
Even adding -fno-inline -fno-inline-functions options makes no difference.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs