diff mbox

Fix profile updating in cfgbuild

Message ID 20170608093923.GA87247@kam.mff.cuni.cz
State New
Headers show

Commit Message

Jan Hubicka June 8, 2017, 9:39 a.m. UTC
Hi,
this is what I comitted
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 249007)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2017-06-08  Jan Hubicka  <hubicka@ucw.cz>
+
+	* cfgbuild.c (find_many_sub_basic_blocks): Fix thinko.
+
 2017-06-08  Martin Liska  <mliska@suse.cz>
 
 	PR gcov-profile/80911
Index: cfgbuild.c
===================================================================
--- cfgbuild.c	(revision 249007)
+++ cfgbuild.c	(working copy)
@@ -655,7 +655,7 @@  find_many_sub_basic_blocks (sbitmap bloc
 		    initialized_src = true;
 		  }
 		else
-		  uninitialized_src = false;
+		  uninitialized_src = true;
 		bb->frequency += EDGE_FREQUENCY (e);
 	      }
 	    /* When some edges are missing with read profile, this is