[LLVMbugs] [Bug 11625] New: Excessive inlinine with Os
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 20 06:11:53 PST 2011
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: unassignedclangbugs at nondot.org
ReportedBy: dsaritz at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list