]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instr...
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Wed, 22 Jul 1998 18:49:53 +0000 (18:49 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Wed, 22 Jul 1998 18:49:53 +0000 (11:49 -0700)
* profile.c (branch_prob): Call allocate_reg_info after outputting
profile rtl in instrument_arcs.

From-SVN: r21343

gcc/ChangeLog
gcc/profile.c

index d1d981d75a82f900027f011b9b77b87ea192aa73..8d0b5c230b820544f9a237f74eb5fecee6f6aa66 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 Tue Jul 21 22:40:09 PDT 1998 Jeff Law  (law@cygnus.com)
 
        * version.c: Bump for snapshot.
index 060ecfc81af9a06e7bdecf11cef6f2a8c5d98f85..b06f91bb4fccf81aae82cd3a0e959fbf8205a290 100644 (file)
@@ -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)