From: Alan Modra Date: Thu, 26 May 2016 17:38:36 +0000 (+0930) Subject: ira.c bb_loop_depth X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c38c11a10aecab37d938dee5a22276e3304fdd53;p=gcc.git ira.c bb_loop_depth PR rtl-optimization/71275 * ira.c (ira): Call loop_optimizer_init to set up bb_loop_depth for update_equiv_regs and combine_and_move_insns. From-SVN: r236789 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a76af4c9e9..30c86158de8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-27 Alan Modra + + PR rtl-optimization/71275 + * ira.c (ira): Call loop_optimizer_init to set up bb_loop_depth + for update_equiv_regs and combine_and_move_insns. + 2016-05-26 Uros Bizjak * config/i386/i386.md (*movqi_internal) : Use diff --git a/gcc/ira.c b/gcc/ira.c index 55b4bd700be..1b269eac32c 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -5171,6 +5171,7 @@ ira (FILE *f) ira_set_pseudo_classes (true, ira_dump_file); init_alias_analysis (); + loop_optimizer_init (AVOID_CFG_MODIFICATIONS); reg_equiv = XCNEWVEC (struct equivalence, max_reg_num ()); update_equiv_regs (); @@ -5186,6 +5187,7 @@ ira (FILE *f) if (optimize) add_store_equivs (); + loop_optimizer_finalize (); end_alias_analysis (); free (reg_equiv);