From f3c82ff9a9f831481d45a370476743d73f6704a3 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 28 May 2016 09:52:56 +0930 Subject: [PATCH] ira.c bb_loop_depth again Follow the same practice as other places in ira.c, where free_dominance_info is called along with loop_optimizer_finalize. Not doing so causes an ICE on gcc-5-branch, so avoid that possibility on trunk. PR rtl-optimization/71275 * ira.c (ira): Free dominance info. From-SVN: r236843 --- gcc/ChangeLog | 5 +++++ gcc/ira.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ae68769562..84655a46bbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-28 Alan Modra + + PR rtl-optimization/71275 + * ira.c (ira): Free dominance info. + 2016-05-27 Gerald Pfeifer * doc/sourcebuild.texi: New address for upstream Go repository. diff --git a/gcc/ira.c b/gcc/ira.c index 1b269eac32c..3c4e3b6bd08 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -5188,6 +5188,7 @@ ira (FILE *f) add_store_equivs (); loop_optimizer_finalize (); + free_dominance_info (CDI_DOMINATORS); end_alias_analysis (); free (reg_equiv); -- 2.30.2