This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix profile updating in cfgbuild


Hi,
this is what I comitted

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]