Great post on devirtualisation for C++ in GCC, with some interesting comments on warning usability: http://t.co/PL6ksVOGXS