diff options
author | Martin Liska <mliska@suse.cz> | 2019-02-14 12:30:58 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-02-14 11:30:58 +0000 |
commit | 696c5b27c524cf65c6b06e93e62f047faad40a78 (patch) | |
tree | 025cb0cd849aa9f62b7fc8bd4f825d4c9de60fa0 /gcc/dce.c | |
parent | 133342f061ca8d9746484db81ddbb7e493618209 (diff) | |
download | gcc-696c5b27c524cf65c6b06e93e62f047faad40a78.zip gcc-696c5b27c524cf65c6b06e93e62f047faad40a78.tar.gz gcc-696c5b27c524cf65c6b06e93e62f047faad40a78.tar.bz2 |
Call free_dominance_info when transformed in DCE (PR rtl-optimization/89242).
2019-02-14 Martin Liska <mliska@suse.cz>
PR rtl-optimization/89242
* dce.c (delete_unmarked_insns): Call free_dominance_info we
process a transformation.
2019-02-14 Martin Liska <mliska@suse.cz>
PR rtl-optimization/89242
* g++.dg/pr89242.C: New test.
From-SVN: r268873
Diffstat (limited to 'gcc/dce.c')
-rw-r--r-- | gcc/dce.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -652,6 +652,7 @@ delete_unmarked_insns (void) { gcc_assert (can_alter_cfg); delete_unreachable_blocks (); + free_dominance_info (CDI_DOMINATORS); } } |