diff mbox

Flatten tree-outof-ssa.h

Message ID 526EABC6.6080504@redhat.com
State New
Headers show

Commit Message

Andrew MacLeod Oct. 28, 2013, 6:24 p.m. UTC
This is even more trivial...   Remove the 3 includes from 
tree-outof-ssa.h and pushed the required ones down to the .c files that 
include tree-outof-ssa.h.

Bootstraps on x86_64-unknown-linux-gnu, regressions are running. 
Assuming no issues, OK?

Andrew

Comments

Jeff Law Oct. 28, 2013, 6:24 p.m. UTC | #1
On 10/28/13 12:24, Andrew MacLeod wrote:
> This is even more trivial...   Remove the 3 includes from
> tree-outof-ssa.h and pushed the required ones down to the .c files that
> include tree-outof-ssa.h.
>
> Bootstraps on x86_64-unknown-linux-gnu, regressions are running.
> Assuming no issues, OK?
OK.

jeff
diff mbox

Patch


	* tree-outof-ssa.h: Remove include files.
	* tree-outof-ssa.c: Add required include files from tree-outof-ssa.h.
	* expr.c: Likewise.
	* tree-ssa-coalesce.c: Likewise.
	* cfgexpand.c: Likewise.
	* tree-ssa-ter.c: Likewise.

Index: tree-outof-ssa.h
===================================================================
*** tree-outof-ssa.h	(revision 204135)
--- tree-outof-ssa.h	(working copy)
*************** along with GCC; see the file COPYING3.  
*** 21,29 ****
  #ifndef GCC_TREE_OUTOF_SSA_H
  #define GCC_TREE_OUTOF_SSA_H
  
- #include "tree-ssa-live.h"
- #include "tree-ssa-ter.h"
- #include "tree-ssa-coalesce.h"
  
  /* This structure (of which only a singleton SA exists) is used to
     pass around information between the outof-SSA functions, cfgexpand
--- 21,26 ----
Index: tree-outof-ssa.c
===================================================================
*** tree-outof-ssa.c	(revision 204135)
--- tree-outof-ssa.c	(working copy)
*************** along with GCC; see the file COPYING3.  
*** 36,41 ****
--- 36,44 ----
  #include "tree-ssanames.h"
  #include "dumpfile.h"
  #include "diagnostic-core.h"
+ #include "tree-ssa-live.h"
+ #include "tree-ssa-ter.h"
+ #include "tree-ssa-coalesce.h"
  #include "tree-outof-ssa.h"
  
  /* FIXME: A lot of code here deals with expanding to RTL.  All that code
Index: expr.c
===================================================================
*** expr.c	(revision 204135)
--- expr.c	(working copy)
*************** along with GCC; see the file COPYING3.  
*** 52,57 ****
--- 52,58 ----
  #include "timevar.h"
  #include "df.h"
  #include "diagnostic.h"
+ #include "tree-ssa-live.h"
  #include "tree-outof-ssa.h"
  #include "target-globals.h"
  #include "params.h"
Index: tree-ssa-coalesce.c
===================================================================
*** tree-ssa-coalesce.c	(revision 204135)
--- tree-ssa-coalesce.c	(working copy)
*************** along with GCC; see the file COPYING3.  
*** 33,39 ****
  #include "ssa-iterators.h"
  #include "tree-ssanames.h"
  #include "hash-table.h"
! #include "tree-outof-ssa.h"
  #include "diagnostic-core.h"
  
  
--- 33,40 ----
  #include "ssa-iterators.h"
  #include "tree-ssanames.h"
  #include "hash-table.h"
! #include "tree-ssa-live.h"
! #include "tree-ssa-coalesce.h"
  #include "diagnostic-core.h"
  
  
Index: cfgexpand.c
===================================================================
*** cfgexpand.c	(revision 204135)
--- cfgexpand.c	(working copy)
*************** along with GCC; see the file COPYING3.  
*** 49,54 ****
--- 49,55 ----
  #include "tree-inline.h"
  #include "value-prof.h"
  #include "target.h"
+ #include "tree-ssa-live.h"
  #include "tree-outof-ssa.h"
  #include "sbitmap.h"
  #include "cfgloop.h"
Index: tree-ssa-ter.c
===================================================================
*** tree-ssa-ter.c	(revision 204135)
--- tree-ssa-ter.c	(working copy)
*************** along with GCC; see the file COPYING3.  
*** 32,37 ****
--- 32,39 ----
  #include "ssa-iterators.h"
  #include "tree-ssanames.h"
  #include "dumpfile.h"
+ #include "tree-ssa-live.h"
+ #include "tree-ssa-ter.h"
  #include "tree-outof-ssa.h"
  #include "flags.h"