]> gcc.gnu.org Git - gcc.git/commit
Fix stmt_kills_ref_p WRT external throws
authorJan Hubicka <jh@suse.cz>
Fri, 24 Jun 2022 11:52:44 +0000 (13:52 +0200)
committerJan Hubicka <jh@suse.cz>
Fri, 24 Jun 2022 11:52:44 +0000 (13:52 +0200)
commit7fd34782b95bbe1b4dc9936b8923f86d4aaee379
treefa668f35065c45cf9fd948e8f08572d4e351e561
parent268b5c81e93ac3ff44fc8ace22ce504d8faa4b07
Fix stmt_kills_ref_p WRT external throws

Add 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 a testcase.

PR ipa/106057
* tree-ssa-alias.cc (stmt_kills_ref_p): Check for external throw.
gcc/tree-ssa-alias.cc
This page took 0.062084 seconds and 6 git commands to generate.