Straightforward. Just include tree-ssa-threadedge in the 4 .c files that need it.

bootstraps on x86_64-unknown-linux-gnu with no new regressions. OK?

Andrew


	* tree-ssa.h: Don't include tree-ssa-threadedge.h.
	* tree-ssa-dom.c: Include tree-ssa-threadedge.h.
	* tree-ssa-loop-ch.c: Likewise.
	* tree-ssa-threadedge.c: Likewise.
	* tree-vrp.c: Likewise.

*** T4/tree-ssa.h	2013-10-17 12:27:21.260463076 -0400
--- tree-ssa.h	2013-10-17 12:27:36.545463878 -0400
*************** along with GCC; see the file COPYING3.
*** 32,38 ****
  #include "ssa-iterators.h"
  #include "tree-ssanames.h"
  #include "tree-ssa-dom.h"
- #include "tree-ssa-threadedge.h"
  #include "tree-ssa-loop.h"
  #include "tree-into-ssa.h"
  #include "tree-dfa.h"
--- 32,37 ----
*** T4/tree-ssa-dom.c	2013-10-17 12:27:21.260463076 -0400
--- tree-ssa-dom.c	2013-10-17 13:00:46.759975424 -0400
*************** along with GCC; see the file COPYING3.
*** 37,42 ****
--- 37,43 ----
  #include "tree-ssa-threadupdate.h"
  #include "langhooks.h"
  #include "params.h"
+ #include "tree-ssa-threadedge.h"
  
  /* This file implements optimizations on the dominator tree.  */
  
*** T4/tree-ssa-loop-ch.c	2013-10-17 12:27:21.260463076 -0400
--- tree-ssa-loop-ch.c	2013-10-17 13:00:33.272976093 -0400
*************** along with GCC; see the file COPYING3.
*** 29,34 ****
--- 29,35 ----
  #include "cfgloop.h"
  #include "tree-inline.h"
  #include "flags.h"
+ #include "tree-ssa-threadedge.h"
  
  /* Duplicates headers of loops if they are small enough, so that the statements
     in the loop body are always executed when the loop is entered.  This
*** T4/tree-ssa-threadedge.c	2013-10-17 12:27:21.264463076 -0400
--- tree-ssa-threadedge.c	2013-10-17 13:00:41.902975659 -0400
*************** along with GCC; see the file COPYING3.
*** 35,40 ****
--- 35,41 ----
  #include "tree-ssa-threadupdate.h"
  #include "langhooks.h"
  #include "params.h"
+ #include "tree-ssa-threadedge.h"
  
  /* To avoid code explosion due to jump threading, we limit the
     number of statements we are going to copy.  This variable
*** T4/tree-vrp.c	2013-10-17 12:27:21.268463076 -0400
--- tree-vrp.c	2013-10-17 13:00:51.003975224 -0400
*************** along with GCC; see the file COPYING3.
*** 39,44 ****
--- 39,45 ----
  #include "tree-ssa-threadupdate.h"
  #include "expr.h"
  #include "optabs.h"
+ #include "tree-ssa-threadedge.h"
  
  
  

Reply via email to