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]

[patch 5/9] Flatten ira-int.h


Flatten ira-int.h, yet another header that includes cfgloop.h. Most of the includes from here do actually make it into the source files, so once the include reduction is completed and we see if they are actually needed, some may go back in.

Bootstraps from scratch on x86_64-unknown-linux-gnu with no new regressions. Also compiles all the files in config-list.mk.
	* ira-int.h: Flatten includes.
	* ira-build.c: Adjust includes.
	* ira-color.c: Likewise.
	* ira-conflicts.c: Likewise.
	* ira-costs.c: Likewise.
	* ira-emit.c: Likewise.
	* ira-lives.c: Likewise.
	* ira.c: Likewise.
	* target-globals.c: Likewise.

Index: ira-int.h
===================================================================
*** ira-int.h	(revision 225452)
--- ira-int.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 21,30 ****
  #ifndef GCC_IRA_INT_H
  #define GCC_IRA_INT_H
  
- #include "cfgloop.h"
- #include "ira.h"
- #include "alloc-pool.h"
- 
  /* To provide consistency in naming, all IRA external variables,
     functions, common typedefs start with prefix ira_.  */
  
--- 21,26 ----
Index: ira-build.c
===================================================================
*** ira-build.c	(revision 225452)
--- ira-build.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 40,45 ****
--- 40,48 ----
  #include "df.h"
  #include "reload.h"
  #include "sparseset.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  #include "emit-rtl.h"  /* FIXME: Can go away once crtl is moved to rtl.h.  */
  
Index: ira-color.c
===================================================================
*** ira-color.c	(revision 225452)
--- ira-color.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 51,56 ****
--- 51,59 ----
  #include "reload.h"
  #include "params.h"
  #include "df.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  
  typedef struct allocno_hard_regs *allocno_hard_regs_t;
Index: ira-conflicts.c
===================================================================
*** ira-conflicts.c	(revision 225452)
--- ira-conflicts.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 37,42 ****
--- 37,45 ----
  #include "params.h"
  #include "df.h"
  #include "sparseset.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  #include "addresses.h"
  
Index: ira-costs.c
===================================================================
*** ira-costs.c	(revision 225452)
--- ira-costs.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 50,55 ****
--- 50,58 ----
  #include "diagnostic-core.h"
  #include "target.h"
  #include "params.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  
  /* The flags is set up every time when we calculate pseudo register
Index: ira-emit.c
===================================================================
*** ira-emit.c	(revision 225452)
--- ira-emit.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 100,105 ****
--- 100,108 ----
  #include "params.h"
  #include "reload.h"
  #include "df.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  
  
Index: ira-lives.c
===================================================================
*** ira-lives.c	(revision 225452)
--- ira-lives.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 39,44 ****
--- 39,47 ----
  #include "df.h"
  #include "sbitmap.h"
  #include "sparseset.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  
  /* The code in this file is similar to one in global but the code
Index: ira.c
===================================================================
*** ira.c	(revision 225452)
--- ira.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 403,408 ****
--- 403,411 ----
  #include "except.h"
  #include "reload.h"
  #include "diagnostic-core.h"
+ #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  #include "lra.h"
  #include "dce.h"
Index: target-globals.c
===================================================================
*** target-globals.c	(revision 225452)
--- target-globals.c	(working copy)
*************** along with GCC; see the file COPYING3.
*** 45,50 ****
--- 45,52 ----
  #include "optabs.h"
  #include "libfuncs.h"
  #include "cfgloop.h"
+ #include "ira.h"
+ #include "alloc-pool.h"
  #include "ira-int.h"
  #include "builtins.h"
  #include "gcse.h"

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