Re: [PATCH] ipa: check if cache_token != NULL before hash_set::add call

2023-02-01 Thread Martin Jambor
On Tue, Jan 24 2023, Martin Liška wrote: > We should not insert an empty value to the container. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > > PR ipa/108509 > > gcc/ChangeLog: > > * cgraphunit.cc (walk_polymo

[PATCH] ipa: check if cache_token != NULL before hash_set::add call

2023-01-24 Thread Martin Liška
We should not insert an empty value to the container. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin PR ipa/108509 gcc/ChangeLog: * cgraphunit.cc (walk_polymorphic_call_targets): Insert ony non-null values.