From 9a73a3c38e01890fcc4615c53c3946b8e46fc252 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 10 Jun 2017 18:33:07 +0200 Subject: [PATCH] cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch profile. * cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch profile. From-SVN: r249093 --- gcc/ChangeLog | 5 +++++ gcc/cgraphbuild.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d55bdf43bd0..3ddba79c170 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-06-10 Jan Hubicka + + * cgraphbuild.c (cgraph_edge::rebuild_references): Do not touch + profile. + 2017-06-10 Tom de Vries * doc/sourcebuild.texi (Effective-Target Keywords, Environment diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c index 034b8fa9974..d853acd883d 100644 --- a/gcc/cgraphbuild.c +++ b/gcc/cgraphbuild.c @@ -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)) -- 2.30.2