From: David S. Miller Date: Wed, 22 Jul 1998 18:49:53 +0000 (+0000) Subject: profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instr... X-Git-Tag: prereleases/egcs-1.1-prerelease~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b237dd93c1dff5d2808ead604af8e3c306024612;p=thirdparty%2Fgcc.git 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: r21343 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1d981d75a82..8d0b5c230b82 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. + Tue Jul 21 22:40:09 PDT 1998 Jeff Law (law@cygnus.com) * version.c: Bump for snapshot. diff --git a/gcc/profile.c b/gcc/profile.c index 060ecfc81af9..b06f91bb4fcc 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)