Re: [google gcc-4_7] Inlining and devirtualization tests

2013-01-16 Thread Maxim Kuvyrkov
On 16/01/2013, at 6:41 PM, Xinliang David Li wrote: > Looks fine. Why adding tests that are expected to fail? Are these > tests passing with trunk? They are expected to fail only due to optimization analysis not being up to snuff yet, not because it's a bad idea to optimize a particular testcas

Re: [google gcc-4_7] Inlining and devirtualization tests

2013-01-15 Thread Xinliang David Li
Looks fine. Why adding tests that are expected to fail? Are these tests passing with trunk? David On Tue, Jan 15, 2013 at 9:33 PM, Maxim Kuvyrkov wrote: > David, > > This patch adds tests for inlining and devirtualization optimizations, some > of which are already in google's gcc-4_7 branch.

[google gcc-4_7] Inlining and devirtualization tests

2013-01-15 Thread Maxim Kuvyrkov
David, This patch adds tests for inlining and devirtualization optimizations, some of which are already in google's gcc-4_7 branch. It is only right to add tests for these optimizations. Main gcc-4_7 branch and trunk pass tests 1 and 5, while Google's gcc-4_7 branch also passes tests 2 and 3.