Re: [PATCH] Code quality tests for inlining and devirtualization optimizations

2011-10-27 Thread Andi Kleen
Maxim Kuvyrkov writes: > The following patch adds 9 tests code quality tests for inlining and > devirtualization optimizations. These tests were originally developed by > Matt. I had a test case for one C (not C++) dynamic devirtualization issue I ran into in PR45631. It's a bit harder for th

[PATCH] Code quality tests for inlining and devirtualization optimizations

2011-10-27 Thread Maxim Kuvyrkov
The following patch adds 9 tests code quality tests for inlining and devirtualization optimizations. These tests were originally developed by Matt. Current mainline can optimize only test 5. Martin's patch in http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02506.html will enable optimization of