Re: Fix three issues in ipa-prop

2014-02-18 Thread Jan Hubicka
Hi, this is patch I ended up comitting. THere was one additional problem with ICE when param_type happens to be VOID pointer. * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment. * ipa-prop.c (ipa_set_jf_known_type): Return early when not devirtualizing.

Fix three issues in ipa-prop

2014-02-17 Thread Jan Hubicka
Hi, Chromium LTO build ICEs on bogus get_binfo_at_offset call. This is caused by updating pasto bug in update_jump_functions_after_inlining. While looking for it I noticed we have other issues here. In particular, when combining -fno-devirtualize and -fdevirtualize units, we get all jump fuctions

Re: Fix three issues in ipa-prop

2014-02-17 Thread Martin Jambor
Hi, On Mon, Feb 17, 2014 at 09:40:40AM +0100, Jan Hubicka wrote: Hi, Chromium LTO build ICEs on bogus get_binfo_at_offset call. This is caused by updating pasto bug in update_jump_functions_after_inlining. While looking for it I noticed we have other issues here. In particular, when

Re: Fix three issues in ipa-prop

2014-02-17 Thread Jan Hubicka
Hi, On Mon, Feb 17, 2014 at 09:40:40AM +0100, Jan Hubicka wrote: Hi, Chromium LTO build ICEs on bogus get_binfo_at_offset call. This is caused by updating pasto bug in update_jump_functions_after_inlining. While looking for it I noticed we have other issues here. In particular,