profile rtl in instrument_arcs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21340
138bc75d-0d04-0410-961f-
82ee72b054a4
+Wed Jul 22 14:08:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
+
+ * profile.c (branch_prob): Call allocate_reg_info after outputting
+ profile rtl in instrument_arcs.
+
Wed Jul 22 12:47:49 1998 Jim Wilson <wilson@cygnus.com>
* fixinc.irix (math.h): Install wrapper instead of copying.
/* 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)