[gcc(refs/users/marxin/heads/PR98815-remove-extra-dominator-release-call)] Test simlified call in cgraph_node::analyze().

Martin Liska marxin@gcc.gnu.org
Wed Mar 17 14:19:04 GMT 2021


https://gcc.gnu.org/g:ebdb4ec45e80448b8fbf11344a2ab87f5d26adb9

commit ebdb4ec45e80448b8fbf11344a2ab87f5d26adb9
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jan 26 12:55:52 2021 +0100

    Test simlified call in cgraph_node::analyze().
    
    gcc/ChangeLog:
    
            * cgraphunit.c (cgraph_node::analyze): Remove duplicate
            free_dominance_info calls.

Diff:
---
 gcc/cgraphunit.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 1c74cee69ac..b11574b3586 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -678,8 +678,6 @@ cgraph_node::analyze (void)
 	  gimple_register_cfg_hooks ();
 	  bitmap_obstack_initialize (NULL);
 	  execute_pass_list (cfun, g->get_passes ()->all_lowering_passes);
-	  free_dominance_info (CDI_POST_DOMINATORS);
-	  free_dominance_info (CDI_DOMINATORS);
 	  compact_blocks ();
 	  bitmap_obstack_release (NULL);
 	  lowered = true;


More information about the Gcc-cvs mailing list