Jan, Here are the testcases for inlining improvements we've discussed on IRC a couple of days ago.
Current mainline handles inline-devirt-1.C and inline-devirt-5.C cases. With my w-i-p patches to teach inlining heuristics about devirtualization opportunities (also attached) inline-devirt-2.C, inline-devirt-3.C are also fully optimized. Let me know if you have suggestions for tackling the other cases. Do you think committing the testcases mainline, XFAIL'ed as necessary, would be useful? Thanks, -- Maxim Kuvyrkov CodeSourcery +1-650-331-3385 x724
0005-Testcases.patch
Description: Binary data
0002-Refactor-ipa-cp.c-to-operate-on-type-lattices.ChangeLog
Description: Binary data
0002-Refactor-ipa-cp.c-to-operate-on-type-lattices.patch
Description: Binary data
0003-Fix-memory-leak.ChangeLog
Description: Binary data
0003-Fix-memory-leak.patch
Description: Binary data
0004-Account-for-devirtualization-in-inlining-heuristics.ChangeLog
Description: Binary data
0004-Account-for-devirtualization-in-inlining-heuristics.patch
Description: Binary data