diff options
author | Martin Jambor <mjambor@suse.cz> | 2021-11-27 01:00:56 +0100 |
---|---|---|
committer | Martin Jambor <mjambor@suse.cz> | 2021-11-27 01:01:46 +0100 |
commit | 9e2e47391b316493b52fbb47b4b992b0863795dd (patch) | |
tree | c7814635be4235c151fd499188df1bbe1e7ff28c /gcc/fortran | |
parent | 52b769437a4d1ca50f4ef5bdad65b12115ded845 (diff) | |
download | gcc-9e2e47391b316493b52fbb47b4b992b0863795dd.zip gcc-9e2e47391b316493b52fbb47b4b992b0863795dd.tar.gz gcc-9e2e47391b316493b52fbb47b4b992b0863795dd.tar.bz2 |
ipa: Fix CFG fix-up in IPA-CP transform phase (PR 103441)
I forgot that IPA passes before ipa-inline must not return
TODO_cleanup_cfg from their transformation function because ordinary
CFG cleanup does not remove call graph edges associated with removed
call statements but must use
delete_unreachable_blocks_update_callgraph instead. This patch fixes
that error.
gcc/ChangeLog:
2021-11-26 Martin Jambor <mjambor@suse.cz>
PR ipa/103441
* ipa-prop.c (ipcp_transform_function): Call
delete_unreachable_blocks_update_callgraph instead of returning
TODO_cleanup_cfg.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions