Re: Fix updating of call_stmt_site_hash

2020-01-22 Thread Richard Biener
On Tue, Jan 21, 2020 at 8:09 PM Jan Hubicka wrote: > > > On January 21, 2020 4:37:31 PM GMT+01:00, Jan Hubicka > > wrote: > > >Hi, > > >this patch fixes ICE causes by call stmt site hash going out of sync. > > >For > > >speculative edges it is assumed to contain a direct call so if we are > > >r

Re: Fix updating of call_stmt_site_hash

2020-01-21 Thread Jan Hubicka
> On January 21, 2020 4:37:31 PM GMT+01:00, Jan Hubicka wrote: > >Hi, > >this patch fixes ICE causes by call stmt site hash going out of sync. > >For > >speculative edges it is assumed to contain a direct call so if we are > >removing it hashtable needs to be updated. I realize that the code is

Re: Fix updating of call_stmt_site_hash

2020-01-21 Thread Richard Biener
On January 21, 2020 4:37:31 PM GMT+01:00, Jan Hubicka wrote: >Hi, >this patch fixes ICE causes by call stmt site hash going out of sync. >For >speculative edges it is assumed to contain a direct call so if we are >removing it hashtable needs to be updated. I realize that the code is >ugly >but I