Fix ipa-inline-transform ICE

2015-01-18 Thread Jan Hubicka
Hi, the testcase shows a case where try_make_edge_direct_virtual_call disagrees with ipa_get_indirect_edge_target_1 making ipa-inline-transform to ICE on mismatch. Bootstrapped/regtested x86_64-linux, comitted. Honza Index: ChangeLog ==

Fix ipa-inline-transform ICE

2012-12-19 Thread Jan Hubicka
Hi, the ipa-inline-transform ICE is caused by fact that devirt_benefit in ipa-inline-analysis is able to determine devirtualiation oppurtunity of call to b3, while the ipa-prop responsible for updating function body after inlining is not. This is because the later is missing code turning known con