Jan, The following patch starts a series of patches which improve devirtualization optimizations in GCC.
This patch builds on ipa-cp.c and ipa-prop.c infrastructure for analyzing parameters and jump functions and adds basic estimation of devirtualization benefit from inlining an edge. E.g., if inlining A across edge E into B will allow some of the indirect edges of A to be resolved, then inlining cost of edge E is reduced. The patch was bootstrapped and regtested on x86_64-linux-gnu on both -m32 and -m64 multilibs. OK to commit? Thank you, -- Maxim Kuvyrkov CodeSourcery / Mentor Graphics
fsf-gcc-devirt-account.ChangeLog
Description: Binary data
fsf-gcc-devirt-account.patch
Description: Binary data