Reorgnanization of profile count maintenance code, part 1

Jan Hubicka hubicka@ucw.cz
Mon Jun 5 15:37:00 GMT 2017


Hi,
I have committed the following fix.

Honza

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 248878)
+++ ChangeLog	(working copy)
@@ -1,5 +1,10 @@
 2017-06-05  Jan Hubicka  <hubicka@ucw.cz>
 
+	* config/mips/frame-header-opt.c: Include profile-count.h.
+	* config/riscv/riscv.c: Include profile-count.h
+
+2017-06-05  Jan Hubicka  <hubicka@ucw.cz>
+
 	* tree-ssa-loop-im.c (execute_sm_if_changed): Add FLAG_BBS parameter;
 	update profile.
 	(sm_set_flag_if_changed): Add bbs field.
Index: config/mips/frame-header-opt.c
===================================================================
--- config/mips/frame-header-opt.c	(revision 248871)
+++ config/mips/frame-header-opt.c	(working copy)
@@ -32,6 +32,7 @@ along with GCC; see the file COPYING3.
 #include "tree-pass.h"
 #include "target.h"
 #include "target-globals.h"
+#include "profile-count.h"
 #include "cfg.h"
 #include "cgraph.h"
 #include "function.h"
Index: config/riscv/riscv.c
===================================================================
--- config/riscv/riscv.c	(revision 248871)
+++ config/riscv/riscv.c	(working copy)
@@ -73,6 +73,7 @@ along with GCC; see the file COPYING3.
 #include "common/common-target.h"
 #include "langhooks.h"
 #include "dominance.h"
+#include "profile-count.h"
 #include "cfg.h"
 #include "cfgrtl.h"
 #include "cfganal.h"



More information about the Gcc-patches mailing list