Message ID | 25dc7142-081e-5f90-3327-432a07c332e6@suse.cz |
---|---|
State | New |
Headers | show |
Series | Test simlified call in cgraph_node::analyze(). | expand |
Hi, On Wed, Apr 21 2021, Martin Liška wrote: > As mentioned and explained in the PR, the calls are redundant. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? Yes. Thanks, Martin > Thanks, > Martin > > gcc/ChangeLog: > > PR ipa/98815 > * cgraphunit.c (cgraph_node::analyze): Remove duplicate > free_dominance_info calls. > --- > gcc/cgraphunit.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c > index 0b70e4d4fde..098eb99dc95 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; > -- > 2.31.1
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 0b70e4d4fde..098eb99dc95 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;