From 60f25009e32cf0269d1344ee2683bce092d31c5f Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 22 Jul 1998 16:14:27 +0000 Subject: [PATCH] profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instrument_arcs. * profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instrument_arcs. From-SVN: r21340 --- gcc/ChangeLog | 5 +++++ gcc/profile.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85315e7d217..ecf168a4882 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 22 14:08:54 1998 David S. Miller + + * profile.c (branch_prob): Call allocate_reg_info after outputting + profile rtl in instrument_arcs. + Wed Jul 22 12:47:49 1998 Jim Wilson * fixinc.irix (math.h): Install wrapper instead of copying. diff --git a/gcc/profile.c b/gcc/profile.c index 060ecfc81af..b06f91bb4fc 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -957,7 +957,10 @@ branch_prob (f, dump_file) /* For each arc not on the spanning tree, add counting code as rtl. */ if (profile_arc_flag) - instrument_arcs (f, num_blocks, dump_file); + { + instrument_arcs (f, num_blocks, dump_file); + allocate_reg_info (max_reg_num (), FALSE, FALSE); + } /* Execute the rest only if doing branch probabilities. */ if (! flag_branch_probabilities) -- 2.30.2