http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47664
Summary: early inliner now needs iteration for multiple calls
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
void foo0();
inline void bar0() { foo0(); }
void foobar() { bar0(); bar0(); bar0(); }
;; Function foobar (foobar)
Considering inline candidate bar0.
Inlining bar0 into foobar.
Processing frequency bar0
Called by bar0 that is normal or hot
Inlining bar0 to foobar with frequency 1000
Considering inline candidate bar0.
Inlining bar0 into foobar.
Processing frequency bar0
Called by bar0 that is normal or hot
Inlining bar0 to foobar with frequency 1000
Considering inline candidate bar0.
Inlining bar0 into foobar.
Processing frequency bar0
Called by bar0 that is normal or hot
Inlining bar0 to foobar with frequency 1000
Iterations: 3
I have a patch.