Fix stmt_kills_ref_p wrt external throws

2022-06-23 Thread Jan Hubicka via Gcc-patches
Hi, this patch adds missing check to stmt_kills_ref_p for case that function is terminated by EH before call return value kills the ref. In the PR I tried to construct testcase but I don't know how to do that until I annotate EH code with fnspec attributes which I will do in separate patch and add

Re: Fix stmt_kills_ref_p wrt external throws

2022-06-23 Thread Richard Biener via Gcc-patches
On Thu, 23 Jun 2022, Jan Hubicka wrote: > Hi, > this patch adds missing check to stmt_kills_ref_p for case that function > is terminated by EH before call return value kills the ref. In the PR > I tried to construct testcase but I don't know how to do that until I > annotate EH code with fnspec a