diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-16 07:10:08 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-16 07:10:08 +0000 |
commit | dff10ec95b424c689737204ead27f9330dfc7857 (patch) | |
tree | 0cbebbc719b6ac7377fb5fee81b76274297b3dcd /gcc/combine.c | |
parent | 69cdadd9f288cebf9d01a7355cf3aef18285f036 (diff) | |
download | gcc-dff10ec95b424c689737204ead27f9330dfc7857.tar.gz |
PR target/77526
* combine.c (rest_of_handle_combine): If any edges have been purged,
free dominators if available.
* gcc.target/i386/pr77526.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 1b262f94fed..1e43d48cc56 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -14393,6 +14393,8 @@ rest_of_handle_combine (void) instructions. */ if (rebuild_jump_labels_after_combine) { + if (dom_info_available_p (CDI_DOMINATORS)) + free_dominance_info (CDI_DOMINATORS); timevar_push (TV_JUMP); rebuild_jump_labels (get_insns ()); cleanup_cfg (0); |