diff options
author | Jan Hubicka <jh@suse.cz> | 2022-06-24 13:52:44 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2022-06-24 13:52:44 +0200 |
commit | 7fd34782b95bbe1b4dc9936b8923f86d4aaee379 (patch) | |
tree | fa668f35065c45cf9fd948e8f08572d4e351e561 /gcc/d/expr.cc | |
parent | 268b5c81e93ac3ff44fc8ace22ce504d8faa4b07 (diff) | |
download | gcc-7fd34782b95bbe1b4dc9936b8923f86d4aaee379.zip gcc-7fd34782b95bbe1b4dc9936b8923f86d4aaee379.tar.gz gcc-7fd34782b95bbe1b4dc9936b8923f86d4aaee379.tar.bz2 |
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.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions