diff options
author | Richard Biener <rguenther@suse.de> | 2025-04-14 11:42:18 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-04-14 13:00:40 +0200 |
commit | a48f934211434cac1be951c207ee76e4b4340fac (patch) | |
tree | a08571412075cd57fcf87302e0fd76dbac4bb660 /libjava | |
parent | 9e0a98a47c98fd159a26de4433a3ed1d85afb8c3 (diff) | |
download | gcc-a48f934211434cac1be951c207ee76e4b4340fac.zip gcc-a48f934211434cac1be951c207ee76e4b4340fac.tar.gz gcc-a48f934211434cac1be951c207ee76e4b4340fac.tar.bz2 |
tree-optimization/119778 - properly mark abnormal edge sources during inlining
When inlining a call that abnormally transfers control-flow we make
all inlined calls that can possibly transfer abnormal control-flow
do so as well. But we failed to mark the calls as altering
control-flow. This results in inconsistent behavior later and
possibly wrong-code (we'd eventually prune those edges).
PR tree-optimization/119778
* tree-inline.cc (copy_edges_for_bb): Mark calls that are
source of abnormal edges as altering control-flow.
* g++.dg/torture/pr119778.C: New testcase.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions