cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch profile.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 10 Jun 2017 16:33:07 +0000 (18:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 10 Jun 2017 16:33:07 +0000 (16:33 +0000)
* cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch
profile.

From-SVN: r249093

gcc/ChangeLog
gcc/cgraphbuild.c

index d55bdf43bd09a903495334d43d92be004f2594b8..3ddba79c1702daa093401ecd0d769f6d614df3b0 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-10  Jan Hubicka  <hubicka@ucw.cz>
+
+       * cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch
+       profile.
+
 2017-06-10  Tom de Vries  <tom@codesourcery.com>
 
        * doc/sourcebuild.texi (Effective-Target Keywords, Environment
index 034b8fa997420a347f4a0a2e9b8ef9956d3fd471..d853acd883d20581527e893214eee3d7f750599e 100644 (file)
@@ -473,8 +473,6 @@ cgraph_edge::rebuild_references (void)
     else
       i++;
 
-  node->count = ENTRY_BLOCK_PTR_FOR_FN (cfun)->count;
-
   FOR_EACH_BB_FN (bb, cfun)
     {
       for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))