Test simlified call in cgraph_node::analyze().
authorMartin Liska <mliska@suse.cz>
Tue, 26 Jan 2021 11:55:52 +0000 (12:55 +0100)
committerMartin Liska <mliska@suse.cz>
Wed, 21 Apr 2021 09:42:44 +0000 (11:42 +0200)
gcc/ChangeLog:

PR ipa/98815
* cgraphunit.c (cgraph_node::analyze): Remove duplicate
free_dominance_info calls.

gcc/cgraphunit.c

index 0b70e4d..098eb99 100644 (file)
@@ -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;