Re: [PATCH] Do not ICE in IPA inliner.

2019-10-23 Thread Richard Biener
On Tue, Oct 22, 2019 at 2:47 PM Martin Liška wrote: > > Hi. > > We should not call to_gcov_type on a count that is uninitialized. > That's the case for a THUNK cgraph_node that we inline. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? OK. >

[PATCH] Do not ICE in IPA inliner.

2019-10-22 Thread Martin Liška
Hi. We should not call to_gcov_type on a count that is uninitialized. That's the case for a THUNK cgraph_node that we inline. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: 2019-10-22 Martin Liska PR ipa/9