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 9/9] Final patch with all changes


This is the big daddy. THe first patch is an aggregation of the header file changes from the first 8 patches.

The second patch is adjustments to the gen*.c build files to remove duplicate includes and such.

The third patch is the net cumulative effect on all the source files.

Bootstraps from scratch on x86_64-unknown-linux-gnu with no new regressions. Also compiles all the files in config-list.mk.

OK for trunk?
Andrew



	* tree-core.h: Include symtab.h.
	* rtl.h: Include hard-reg-set.h but not flags.h.
	(HARD_CONST): Remove condition compilation involving HARD_CONST since 
	hard-reg-set.h is always included.
	* regs.h: Don't include hard-reg-set.h or rtl.h.
	* cfg.h: Include dominance.h.
	* gimple.h: Include tree-ssa-alias.h and gimple-expr.h.
	* backend.h: New.  Aggregate commonly used backend header files.
	* gimple-ssa.h: Don't include tree-hasher.h.
	* ssa.h: New.  Aggregate commonly used SSA header files.
	* regset.h: Remove bitmap.h and hard-reg-set.h #includes.
	* sel-sched-ir.h: Flatten includes.
	* lra-int.h: Flatten completely.
	* sel-sched-dump.h: Flatten includes.
	* ira-int.h: Flatten includes.
	* gimple-streamer.h: Remove all includes.
	* cfgloop.h: Remove all #includes except cfgloopmanip.h.
	* resource.h: Flatten hard-reg-set.h and df.h.
	* sched-int.h: Flatten insn-arrt.h and df.h.
	* valtrack.h: flatten bitmap.h, df.h, and rtl.h
	* df.h: Flatten includes, leaving regset.h, alloc-pool.h and timevar.h.


Index: tree-core.h
===================================================================
*** tree-core.h	(revision 225452)
--- tree-core.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 20,25 ****
--- 20,27 ----
  #ifndef GCC_TREE_CORE_H
  #define GCC_TREE_CORE_H
  
+ #include "symtab.h"
+ 
  /* This file contains all the data structures that define the 'tree' type.
     There are no accessor macros nor functions in this file. Only the
     basic data structures, extern declarations and type definitions.  */
Index: rtl.h
===================================================================
*** rtl.h	(revision 225452)
--- rtl.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 38,44 ****
  #include "is-a.h"
  #endif  /* GENERATOR_FILE */
  
! #include "flags.h"
  
  /* Value used by some passes to "recognize" noop moves as valid
   instructions.  */
--- 38,44 ----
  #include "is-a.h"
  #endif  /* GENERATOR_FILE */
  
! #include "hard-reg-set.h"
  
  /* Value used by some passes to "recognize" noop moves as valid
   instructions.  */
*************** extern bool val_signbit_known_clear_p (m
*** 2880,2888 ****
  /* In reginfo.c  */
  extern machine_mode choose_hard_reg_mode (unsigned int, unsigned int,
  					       bool);
- #ifdef HARD_CONST
  extern const HARD_REG_SET &simplifiable_subregs (const subreg_shape &);
- #endif
  
  /* In emit-rtl.c  */
  extern rtx set_for_reg_notes (rtx);
--- 2880,2886 ----
*************** extern int reg_overlap_mentioned_p (cons
*** 2939,2948 ****
  extern const_rtx set_of (const_rtx, const_rtx);
  extern void record_hard_reg_sets (rtx, const_rtx, void *);
  extern void record_hard_reg_uses (rtx *, void *);
- #ifdef HARD_CONST
  extern void find_all_hard_regs (const_rtx, HARD_REG_SET *);
  extern void find_all_hard_reg_sets (const rtx_insn *, HARD_REG_SET *, bool);
- #endif
  extern void note_stores (const_rtx, void (*) (rtx, const_rtx, void *), void *);
  extern void note_uses (rtx *, void (*) (rtx *, void *), void *);
  extern int dead_or_set_p (const_rtx, const_rtx);
--- 2937,2944 ----
*************** extern bool can_assign_to_reg_without_cl
*** 3572,3580 ****
  extern rtx fis_get_condition (rtx_insn *);
  
  /* In ira.c */
- #ifdef HARD_CONST
  extern HARD_REG_SET eliminable_regset;
- #endif
  extern void mark_elimination (int, int);
  
  /* In reginfo.c */
--- 3568,3574 ----
*************** extern void init_reg_sets (void);
*** 3590,3598 ****
  extern void regclass (rtx, int);
  extern void reg_scan (rtx_insn *, unsigned int);
  extern void fix_register (const char *, int, int);
- #ifdef HARD_CONST
  extern const HARD_REG_SET *valid_mode_changes_for_regno (unsigned int);
- #endif
  
  /* In reload1.c */
  extern int function_invariant_p (const_rtx);
--- 3584,3590 ----
*************** extern void _fatal_insn (const char *, c
*** 3709,3715 ****
  /* reginfo.c */
  extern tree GTY(()) global_regs_decl[FIRST_PSEUDO_REGISTER];
  
- #ifdef HARD_CONST
  /* Information about the function that is propagated by the RTL backend.
     Available only for functions that has been already assembled.  */
  
--- 3701,3706 ----
*************** struct GTY(()) cgraph_rtl_info {
*** 3723,3729 ****
    /* Set if function_used_regs is valid.  */
    unsigned function_used_regs_valid: 1;
  };
- #endif
  
  
  #endif /* ! GCC_RTL_H */
--- 3714,3719 ----
Index: regs.h
===================================================================
*** regs.h	(revision 225452)
--- regs.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 20,28 ****
  #ifndef GCC_REGS_H
  #define GCC_REGS_H
  
- #include "hard-reg-set.h"
- #include "rtl.h"
- 
  #define REG_BYTES(R) mode_size[(int) GET_MODE (R)]
  
  /* When you only have the mode of a pseudo register before it has a hard
--- 20,25 ----
Index: cfg.h
===================================================================
*** cfg.h	(revision 225452)
--- cfg.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 20,25 ****
--- 20,27 ----
  #ifndef GCC_CFG_H
  #define GCC_CFG_H
  
+ #include "dominance.h"
+ 
  /* What sort of profiling information we have.  */
  enum profile_status_d
  {
Index: gimple.h
===================================================================
*** gimple.h	(revision 225452)
--- gimple.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 22,27 ****
--- 22,30 ----
  #ifndef GCC_GIMPLE_H
  #define GCC_GIMPLE_H
  
+ #include "tree-ssa-alias.h"
+ #include "gimple-expr.h"
+ 
  typedef gimple gimple_seq_node;
  
  enum gimple_code {
Index: backend.h
===================================================================
*** backend.h	(revision 0)
--- backend.h	(working copy)
***************
*** 0 ****
--- 1,33 ----
+ /* Common Backend requirements. 
+ 
+    Copyright (C) 2015 Free Software Foundation, Inc.
+    Contributed by Andrew MacLeod <amacleod@redhat.com>
+ 
+ This file is part of GCC.
+ 
+ GCC is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 3, or (at your option) any later
+ version.
+ 
+ GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ for more details.
+ 
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3.  If not see
+ <http://www.gnu.org/licenses/>.  */
+ 
+ #ifndef GCC_BACKEND_H
+ #define GCC_BACKEND_H
+ 
+ #include "tm.h"
+ #include "function.h"
+ #include "bitmap.h"
+ #include "sbitmap.h"
+ #include "predict.h"
+ #include "basic-block.h"
+ #include "cfg.h"
+ 
+ #endif /*GCC_BACKEND_H */
Index: gimple-ssa.h
===================================================================
*** gimple-ssa.h	(revision 225452)
--- gimple-ssa.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 21,27 ****
  #ifndef GCC_GIMPLE_SSA_H
  #define GCC_GIMPLE_SSA_H
  
- #include "tree-hasher.h"
  #include "tree-ssa-operands.h"
  
  /* This structure is used to map a gimple statement to a label,
--- 21,26 ----
Index: ssa.h
===================================================================
*** ssa.h	(revision 0)
--- ssa.h	(working copy)
***************
*** 0 ****
--- 1,29 ----
+ /* Common SSA files
+    Copyright (C) 2015 Free Software Foundation, Inc.
+ 
+ This file is part of GCC.
+ 
+ GCC is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 3, or (at your option) any later
+ version.
+ 
+ GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ for more details.
+ 
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3.  If not see
+ <http://www.gnu.org/licenses/>.  */
+ 
+ #ifndef GCC_SSA_H
+ #define GCC_SSA_H
+ 
+ #include "stringpool.h"
+ #include "gimple-ssa.h"
+ #include "tree-ssanames.h"
+ #include "tree-phinodes.h"
+ #include "ssa-iterators.h" 
+ 
+ #endif  /* GCC_SSA_H  */
Index: regset.h
===================================================================
*** regset.h	(revision 225452)
--- regset.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 30,37 ****
     the latter option, a good start would be to change everything allocated
     on the reg_obstack to regset.  */
  
- #include "bitmap.h"		/* For bitmap_iterator.  */
- #include "hard-reg-set.h"
  
  /* Head of register set linked list.  */
  typedef bitmap_head regset_head;
--- 30,35 ----
Index: sel-sched-ir.h
===================================================================
*** sel-sched-ir.h	(revision 225452)
--- sel-sched-ir.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 22,34 ****
  #define GCC_SEL_SCHED_IR_H
  
  /* For state_t.  */
- #include "insn-attr.h"
- #include "regset.h"
  /* For reg_note.  */
- #include "rtl.h"
- #include "bitmap.h"
- #include "sched-int.h"
- #include "cfgloop.h"
  
  /* tc_t is a short for target context.  This is a state of the target
     backend.  */
--- 22,28 ----
Index: lra-int.h
===================================================================
*** lra-int.h	(revision 225452)
--- lra-int.h	(working copy)
*************** along with GCC; see the file COPYING3.	I
*** 21,34 ****
  #ifndef GCC_LRA_INT_H
  #define GCC_LRA_INT_H
  
- #include "lra.h"
- #include "bitmap.h"
- #include "recog.h"
- #include "insn-attr.h"
- #include "insn-codes.h"
- #include "insn-config.h"
- #include "regs.h"
- 
  #define lra_assert(c) gcc_checking_assert (c)
  
  /* The parameter used to prevent infinite reloading for an insn.  Each
--- 21,26 ----
Index: sel-sched-dump.h
===================================================================
*** sel-sched-dump.h	(revision 225452)
--- sel-sched-dump.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 21,27 ****
  #ifndef GCC_SEL_SCHED_DUMP_H
  #define GCC_SEL_SCHED_DUMP_H
  
- #include "sel-sched-ir.h"
  
  
  /* These values control the dumping of control flow graph to the .dot file.  */
--- 21,26 ----
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: gimple-streamer.h
===================================================================
*** gimple-streamer.h	(revision 225452)
--- gimple-streamer.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 22,30 ****
  #ifndef GCC_GIMPLE_STREAMER_H
  #define GCC_GIMPLE_STREAMER_H
  
- #include "tm.h"
- #include "hard-reg-set.h"
- #include "function.h"
  #include "lto-streamer.h"
  
  /* In gimple-streamer-in.c  */
--- 22,27 ----
Index: cfgloop.h
===================================================================
*** cfgloop.h	(revision 225452)
--- cfgloop.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 20,28 ****
  #ifndef GCC_CFGLOOP_H
  #define GCC_CFGLOOP_H
  
- #include "bitmap.h"
- #include "sbitmap.h"
- #include "function.h"
  #include "cfgloopmanip.h"
  
  /* Structure to hold decision about unrolling/peeling.  */
--- 20,25 ----
Index: resource.h
===================================================================
*** resource.h	(revision 225452)
--- resource.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 20,28 ****
  #ifndef GCC_RESOURCE_H
  #define GCC_RESOURCE_H
  
- #include "hard-reg-set.h"
- #include "df.h"
- 
  /* Macro to clear all resources.  */
  #define CLEAR_RESOURCE(RES)	\
   do { (RES)->memory = (RES)->volatil = (RES)->cc = 0; \
--- 20,25 ----
Index: sched-int.h
===================================================================
*** sched-int.h	(revision 225452)
--- sched-int.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 21,32 ****
  #ifndef GCC_SCHED_INT_H
  #define GCC_SCHED_INT_H
  
- #include "insn-attr.h"
- 
  #ifdef INSN_SCHEDULING
  
- #include "df.h"
- 
  /* Identificator of a scheduler pass.  */
  enum sched_pass_id_t { SCHED_PASS_UNKNOWN, SCHED_RGN_PASS, SCHED_EBB_PASS,
  		       SCHED_SMS_PASS, SCHED_SEL_PASS };
--- 21,28 ----
Index: valtrack.h
===================================================================
*** valtrack.h	(revision 225452)
--- valtrack.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 22,31 ****
  #ifndef GCC_VALTRACK_H
  #define GCC_VALTRACK_H
  
- #include "bitmap.h"
- #include "df.h"
- #include "rtl.h"
- 
  /* Debug uses of dead regs.  */
  
  /* Entry that maps a dead pseudo (REG) used in a debug insns that dies
--- 22,27 ----
Index: df.h
===================================================================
*** df.h	(revision 225452)
--- df.h	(working copy)
*************** along with GCC; see the file COPYING3.
*** 25,37 ****
  #ifndef GCC_DF_H
  #define GCC_DF_H
  
- #include "bitmap.h"
  #include "regset.h"
- #include "sbitmap.h"
- #include "predict.h"
- #include "tm.h"
- #include "hard-reg-set.h"
- #include "function.h"
  #include "alloc-pool.h"
  #include "timevar.h"
  
--- 25,31 ----
	* genattrtab.c (write_header): Adjust generated includes.
	* genautomata.c (main): Likewise.
	* genconditions.c (write-header): Likewise.
	* genemit.c (main): Likewise.
	* gengtype.c (open_base_files): Likewise.
	* genopinit.c (main): Likewise.
	* genoutput.c (output_prologue): Likewise.
	* genpeep.c (main): Likewise.
	* genpreds.c (write_insn_preds_c): Likewise.
	* genrecog.c (write_header): Likewise.

Index: genattrtab.c
===================================================================
*** genattrtab.c	(revision 225452)
--- genattrtab.c	(working copy)
*************** write_header (FILE *outf)
*** 5103,5118 ****
    fprintf (outf, "#include \"config.h\"\n");
    fprintf (outf, "#include \"system.h\"\n");
    fprintf (outf, "#include \"coretypes.h\"\n");
!   fprintf (outf, "#include \"tm.h\"\n");
!   fprintf (outf, "#include \"input.h\"\n");
    fprintf (outf, "#include \"alias.h\"\n");
-   fprintf (outf, "#include \"symtab.h\"\n");
    fprintf (outf, "#include \"options.h\"\n");
-   fprintf (outf, "#include \"tree.h\"\n");
    fprintf (outf, "#include \"varasm.h\"\n");
    fprintf (outf, "#include \"stor-layout.h\"\n");
    fprintf (outf, "#include \"calls.h\"\n");
-   fprintf (outf, "#include \"rtl.h\"\n");
    fprintf (outf, "#include \"insn-attr.h\"\n");
    fprintf (outf, "#include \"tm_p.h\"\n");
    fprintf (outf, "#include \"insn-config.h\"\n");
--- 5103,5116 ----
    fprintf (outf, "#include \"config.h\"\n");
    fprintf (outf, "#include \"system.h\"\n");
    fprintf (outf, "#include \"coretypes.h\"\n");
!   fprintf (outf, "#include \"backend.h\"\n");
!   fprintf (outf, "#include \"tree.h\"\n");
!   fprintf (outf, "#include \"rtl.h\"\n");
    fprintf (outf, "#include \"alias.h\"\n");
    fprintf (outf, "#include \"options.h\"\n");
    fprintf (outf, "#include \"varasm.h\"\n");
    fprintf (outf, "#include \"stor-layout.h\"\n");
    fprintf (outf, "#include \"calls.h\"\n");
    fprintf (outf, "#include \"insn-attr.h\"\n");
    fprintf (outf, "#include \"tm_p.h\"\n");
    fprintf (outf, "#include \"insn-config.h\"\n");
*************** write_header (FILE *outf)
*** 5122,5130 ****
    fprintf (outf, "#include \"output.h\"\n");
    fprintf (outf, "#include \"toplev.h\"\n");
    fprintf (outf, "#include \"flags.h\"\n");
-   fprintf (outf, "#include \"function.h\"\n");
    fprintf (outf, "#include \"emit-rtl.h\"\n");
-   fprintf (outf, "#include \"predict.h\"\n");
    fprintf (outf, "\n");
    fprintf (outf, "#define operands recog_data.operand\n\n");
  }
--- 5120,5126 ----
Index: genautomata.c
===================================================================
*** genautomata.c	(revision 225452)
--- genautomata.c	(working copy)
*************** main (int argc, char **argv)
*** 9673,9681 ****
  		"#include \"system.h\"\n"
  		"#include \"coretypes.h\"\n"
  		"#include \"tm.h\"\n"
- 		"#include \"input.h\"\n"
  		"#include \"alias.h\"\n"
- 		"#include \"symtab.h\"\n"
  		"#include \"tree.h\"\n"
  		"#include \"varasm.h\"\n"
  		"#include \"stor-layout.h\"\n"
--- 9673,9679 ----
Index: genconditions.c
===================================================================
*** genconditions.c	(revision 225452)
--- genconditions.c	(working copy)
*************** write_header (void)
*** 87,92 ****
--- 87,94 ----
  #include \"hard-reg-set.h\"\n\
  #include \"predict.h\"\n\
  #include \"basic-block.h\"\n\
+ #include \"bitmap.h\"\n\
+ #include \"df.h\"\n\
  #include \"resource.h\"\n\
  #include \"diagnostic-core.h\"\n\
  #include \"reload.h\"\n\
Index: genemit.c
===================================================================
*** genemit.c	(revision 225452)
--- genemit.c	(working copy)
*************** from the machine description file `md'.
*** 744,761 ****
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"tm.h\"\n");
!   printf ("#include \"input.h\"\n");
!   printf ("#include \"alias.h\"\n");
!   printf ("#include \"symtab.h\"\n");
    printf ("#include \"tree.h\"\n");
    printf ("#include \"varasm.h\"\n");
    printf ("#include \"stor-layout.h\"\n");
    printf ("#include \"calls.h\"\n");
-   printf ("#include \"rtl.h\"\n");
    printf ("#include \"tm_p.h\"\n");
-   printf ("#include \"hard-reg-set.h\"\n");
-   printf ("#include \"function.h\"\n");
    printf ("#include \"flags.h\"\n");
    printf ("#include \"insn-config.h\"\n");
    printf ("#include \"expmed.h\"\n");
--- 744,757 ----
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"backend.h\"\n");
    printf ("#include \"tree.h\"\n");
+   printf ("#include \"rtl.h\"\n");
+   printf ("#include \"alias.h\"\n");
    printf ("#include \"varasm.h\"\n");
    printf ("#include \"stor-layout.h\"\n");
    printf ("#include \"calls.h\"\n");
    printf ("#include \"tm_p.h\"\n");
    printf ("#include \"flags.h\"\n");
    printf ("#include \"insn-config.h\"\n");
    printf ("#include \"expmed.h\"\n");
*************** from the machine description file `md'.
*** 769,783 ****
    printf ("#include \"dfp.h\"\n");
    printf ("#include \"output.h\"\n");
    printf ("#include \"recog.h\"\n");
!   printf ("#include \"predict.h\"\n");
!   printf ("#include \"basic-block.h\"\n");
    printf ("#include \"resource.h\"\n");
    printf ("#include \"reload.h\"\n");
    printf ("#include \"diagnostic-core.h\"\n");
    printf ("#include \"regs.h\"\n");
    printf ("#include \"tm-constrs.h\"\n");
    printf ("#include \"ggc.h\"\n");
-   printf ("#include \"basic-block.h\"\n");
    printf ("#include \"dumpfile.h\"\n");
    printf ("#include \"target.h\"\n\n");
    printf ("#define FAIL return (end_sequence (), _val)\n");
--- 765,777 ----
    printf ("#include \"dfp.h\"\n");
    printf ("#include \"output.h\"\n");
    printf ("#include \"recog.h\"\n");
!   printf ("#include \"df.h\"\n");
    printf ("#include \"resource.h\"\n");
    printf ("#include \"reload.h\"\n");
    printf ("#include \"diagnostic-core.h\"\n");
    printf ("#include \"regs.h\"\n");
    printf ("#include \"tm-constrs.h\"\n");
    printf ("#include \"ggc.h\"\n");
    printf ("#include \"dumpfile.h\"\n");
    printf ("#include \"target.h\"\n\n");
    printf ("#define FAIL return (end_sequence (), _val)\n");
Index: gengtype.c
===================================================================
*** gengtype.c	(revision 225452)
--- gengtype.c	(working copy)
*************** open_base_files (void)
*** 1710,1730 ****
    {
      /* The order of files here matters very much.  */
      static const char *const ifiles[] = {
!       "config.h", "system.h", "coretypes.h", "tm.h", "insn-codes.h",
!       "splay-tree.h", "obstack.h", "bitmap.h", "input.h",
!       "alias.h", "symtab.h", "options.h", 
!       "tree.h", "fold-const.h", "rtl.h",
!       "hard-reg-set.h", "predict.h",
!       "function.h", "insn-config.h", "flags.h", 
!       "tree.h", "expmed.h", "dojump.h",
        "explow.h", "calls.h", "emit-rtl.h", "varasm.h", "stmt.h",
!       "expr.h", "alloc-pool.h",
!       "basic-block.h", "cselib.h", "insn-addr.h",
!       "optabs.h", "libfuncs.h", "debug.h", 
!       "dominance.h", "cfg.h", "basic-block.h",
!       "tree-ssa-alias.h", "internal-fn.h", "gimple-fold.h", "tree-eh.h",
!       "gimple-expr.h", "is-a.h",
!       "gimple.h", "gimple-iterator.h", "gimple-ssa.h", "tree-cfg.h",
        "tree-phinodes.h", "ssa-iterators.h", "stringpool.h", "tree-ssanames.h",
        "tree-ssa-loop.h", "tree-ssa-loop-ivopts.h", "tree-ssa-loop-manip.h",
        "tree-ssa-loop-niter.h", "tree-into-ssa.h", "tree-dfa.h", 
--- 1710,1722 ----
    {
      /* The order of files here matters very much.  */
      static const char *const ifiles[] = {
!       "config.h", "system.h", "coretypes.h", "backend.h", "tree.h",
!       "rtl.h", "gimple.h", "fold-const.h", "insn-codes.h", "splay-tree.h",
!       "alias.h", "insn-config.h", "flags.h", "expmed.h", "dojump.h",
        "explow.h", "calls.h", "emit-rtl.h", "varasm.h", "stmt.h",
!       "expr.h", "alloc-pool.h", "cselib.h", "insn-addr.h", "optabs.h",
!       "libfuncs.h", "debug.h", "internal-fn.h", "gimple-fold.h", "tree-eh.h",
!       "gimple-iterator.h", "gimple-ssa.h", "tree-cfg.h",
        "tree-phinodes.h", "ssa-iterators.h", "stringpool.h", "tree-ssanames.h",
        "tree-ssa-loop.h", "tree-ssa-loop-ivopts.h", "tree-ssa-loop-manip.h",
        "tree-ssa-loop-niter.h", "tree-into-ssa.h", "tree-dfa.h", 
Index: genopinit.c
===================================================================
*** genopinit.c	(revision 225452)
--- genopinit.c	(working copy)
*************** main (int argc, char **argv)
*** 464,494 ****
  	   "#include \"config.h\"\n"
  	   "#include \"system.h\"\n"
  	   "#include \"coretypes.h\"\n"
! 	   "#include \"tm.h\"\n"
! 	   "#include \"hash-set.h\"\n"
! 	   "#include \"machmode.h\"\n"
! 	   "#include \"vec.h\"\n"
! 	   "#include \"double-int.h\"\n"
! 	   "#include \"input.h\"\n"
! 	   "#include \"alias.h\"\n"
! 	   "#include \"symtab.h\"\n"
! 	   "#include \"wide-int.h\"\n"
! 	   "#include \"inchash.h\"\n"
  	   "#include \"tree.h\"\n"
  	   "#include \"varasm.h\"\n"
  	   "#include \"stor-layout.h\"\n"
  	   "#include \"calls.h\"\n"
- 	   "#include \"rtl.h\"\n"
- 	   "#include \"predict.h\"\n"
  	   "#include \"tm_p.h\"\n"
  	   "#include \"flags.h\"\n"
  	   "#include \"insn-config.h\"\n"
- 	   "#include \"hashtab.h\"\n"
- 	   "#include \"hard-reg-set.h\"\n"
- 	   "#include \"function.h\"\n"
- 	   "#include \"statistics.h\"\n"
- 	   "#include \"real.h\"\n"
- 	   "#include \"fixed-value.h\"\n"
  	   "#include \"expmed.h\"\n"
  	   "#include \"dojump.h\"\n"
  	   "#include \"explow.h\"\n"
--- 464,479 ----
  	   "#include \"config.h\"\n"
  	   "#include \"system.h\"\n"
  	   "#include \"coretypes.h\"\n"
! 	   "#include \"backend.h\"\n"
  	   "#include \"tree.h\"\n"
+ 	   "#include \"rtl.h\"\n"
+ 	   "#include \"alias.h\"\n"
  	   "#include \"varasm.h\"\n"
  	   "#include \"stor-layout.h\"\n"
  	   "#include \"calls.h\"\n"
  	   "#include \"tm_p.h\"\n"
  	   "#include \"flags.h\"\n"
  	   "#include \"insn-config.h\"\n"
  	   "#include \"expmed.h\"\n"
  	   "#include \"dojump.h\"\n"
  	   "#include \"explow.h\"\n"
Index: genoutput.c
===================================================================
*** genoutput.c	(revision 225452)
--- genoutput.c	(working copy)
*************** output_prologue (void)
*** 226,254 ****
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"tm.h\"\n");
    printf ("#include \"flags.h\"\n");
-   printf ("#include \"ggc.h\"\n");
-   printf ("#include \"hash-set.h\"\n");
-   printf ("#include \"machmode.h\"\n");
-   printf ("#include \"vec.h\"\n");
-   printf ("#include \"double-int.h\"\n");
-   printf ("#include \"input.h\"\n");
    printf ("#include \"alias.h\"\n");
-   printf ("#include \"symtab.h\"\n");
-   printf ("#include \"wide-int.h\"\n");
-   printf ("#include \"inchash.h\"\n");
-   printf ("#include \"tree.h\"\n");
    printf ("#include \"varasm.h\"\n");
    printf ("#include \"stor-layout.h\"\n");
    printf ("#include \"calls.h\"\n");
-   printf ("#include \"rtl.h\"\n");
-   printf ("#include \"hashtab.h\"\n");
-   printf ("#include \"hard-reg-set.h\"\n");
-   printf ("#include \"function.h\"\n");
-   printf ("#include \"statistics.h\"\n");
-   printf ("#include \"real.h\"\n");
-   printf ("#include \"fixed-value.h\"\n");
    printf ("#include \"insn-config.h\"\n");
    printf ("#include \"expmed.h\"\n");
    printf ("#include \"dojump.h\"\n");
--- 226,239 ----
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"backend.h\"\n");
!   printf ("#include \"tree.h\"\n");
!   printf ("#include \"rtl.h\"\n");
    printf ("#include \"flags.h\"\n");
    printf ("#include \"alias.h\"\n");
    printf ("#include \"varasm.h\"\n");
    printf ("#include \"stor-layout.h\"\n");
    printf ("#include \"calls.h\"\n");
    printf ("#include \"insn-config.h\"\n");
    printf ("#include \"expmed.h\"\n");
    printf ("#include \"dojump.h\"\n");
*************** output_prologue (void)
*** 266,272 ****
    printf ("#include \"output.h\"\n");
    printf ("#include \"target.h\"\n");
    printf ("#include \"tm-constrs.h\"\n");
-   printf ("#include \"predict.h\"\n");
  }
  
  static void
--- 251,256 ----
Index: genpeep.c
===================================================================
*** genpeep.c	(revision 225452)
--- genpeep.c	(working copy)
*************** from the machine description file `md'.
*** 363,390 ****
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"tm.h\"\n");
    printf ("#include \"insn-config.h\"\n");
-   printf ("#include \"hash-set.h\"\n");
-   printf ("#include \"machmode.h\"\n");
-   printf ("#include \"vec.h\"\n");
-   printf ("#include \"double-int.h\"\n");
-   printf ("#include \"input.h\"\n");
    printf ("#include \"alias.h\"\n");
-   printf ("#include \"symtab.h\"\n");
-   printf ("#include \"wide-int.h\"\n");
-   printf ("#include \"inchash.h\"\n");
-   printf ("#include \"tree.h\"\n");
    printf ("#include \"varasm.h\"\n");
    printf ("#include \"stor-layout.h\"\n");
    printf ("#include \"calls.h\"\n");
-   printf ("#include \"rtl.h\"\n");
    printf ("#include \"tm_p.h\"\n");
    printf ("#include \"regs.h\"\n");
    printf ("#include \"output.h\"\n");
    printf ("#include \"recog.h\"\n");
    printf ("#include \"except.h\"\n");
-   printf ("#include \"function.h\"\n");
    printf ("#include \"diagnostic-core.h\"\n");
    printf ("#include \"flags.h\"\n");
    printf ("#include \"tm-constrs.h\"\n\n");
--- 363,381 ----
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"backend.h\"\n");
!   printf ("#include \"tree.h\"\n");
!   printf ("#include \"rtl.h\"\n");
    printf ("#include \"insn-config.h\"\n");
    printf ("#include \"alias.h\"\n");
    printf ("#include \"varasm.h\"\n");
    printf ("#include \"stor-layout.h\"\n");
    printf ("#include \"calls.h\"\n");
    printf ("#include \"tm_p.h\"\n");
    printf ("#include \"regs.h\"\n");
    printf ("#include \"output.h\"\n");
    printf ("#include \"recog.h\"\n");
    printf ("#include \"except.h\"\n");
    printf ("#include \"diagnostic-core.h\"\n");
    printf ("#include \"flags.h\"\n");
    printf ("#include \"tm-constrs.h\"\n\n");
Index: genpreds.c
===================================================================
*** genpreds.c	(revision 225452)
--- genpreds.c	(working copy)
*************** write_insn_preds_c (void)
*** 1523,1559 ****
  #include \"config.h\"\n\
  #include \"system.h\"\n\
  #include \"coretypes.h\"\n\
! #include \"tm.h\"\n\
  #include \"rtl.h\"\n\
- #include \"hash-set.h\"\n\
- #include \"machmode.h\"\n\
- #include \"hash-map.h\"\n\
- #include \"vec.h\"\n\
- #include \"double-int.h\"\n\
- #include \"input.h\"\n\
  #include \"alias.h\"\n\
- #include \"symtab.h\"\n\
- #include \"wide-int.h\"\n\
- #include \"inchash.h\"\n\
- #include \"tree.h\"\n\
  #include \"varasm.h\"\n\
  #include \"stor-layout.h\"\n\
  #include \"calls.h\"\n\
  #include \"tm_p.h\"\n\
- #include \"hashtab.h\"\n\
- #include \"hash-set.h\"\n\
- #include \"vec.h\"\n\
- #include \"machmode.h\"\n\
- #include \"hard-reg-set.h\"\n\
- #include \"input.h\"\n\
- #include \"function.h\"\n\
  #include \"insn-config.h\"\n\
  #include \"recog.h\"\n\
  #include \"output.h\"\n\
  #include \"flags.h\"\n\
! #include \"hard-reg-set.h\"\n\
! #include \"predict.h\"\n\
! #include \"basic-block.h\"\n\
  #include \"resource.h\"\n\
  #include \"diagnostic-core.h\"\n\
  #include \"reload.h\"\n\
--- 1523,1541 ----
  #include \"config.h\"\n\
  #include \"system.h\"\n\
  #include \"coretypes.h\"\n\
! #include \"backend.h\"\n\
! #include \"tree.h\"\n\
  #include \"rtl.h\"\n\
  #include \"alias.h\"\n\
  #include \"varasm.h\"\n\
  #include \"stor-layout.h\"\n\
  #include \"calls.h\"\n\
  #include \"tm_p.h\"\n\
  #include \"insn-config.h\"\n\
  #include \"recog.h\"\n\
  #include \"output.h\"\n\
  #include \"flags.h\"\n\
! #include \"df.h\"\n\
  #include \"resource.h\"\n\
  #include \"diagnostic-core.h\"\n\
  #include \"reload.h\"\n\
Index: genrecog.c
===================================================================
*** genrecog.c	(revision 225452)
--- genrecog.c	(working copy)
*************** write_header (void)
*** 4179,4208 ****
  #include \"config.h\"\n\
  #include \"system.h\"\n\
  #include \"coretypes.h\"\n\
! #include \"tm.h\"\n\
  #include \"rtl.h\"\n\
  #include \"tm_p.h\"\n\
- #include \"hashtab.h\"\n\
- #include \"hash-set.h\"\n\
- #include \"vec.h\"\n\
- #include \"machmode.h\"\n\
- #include \"hard-reg-set.h\"\n\
- #include \"input.h\"\n\
- #include \"function.h\"\n\
  #include \"emit-rtl.h\"\n\
  #include \"insn-config.h\"\n\
  #include \"recog.h\"\n\
  #include \"output.h\"\n\
  #include \"flags.h\"\n\
! #include \"hard-reg-set.h\"\n\
! #include \"predict.h\"\n\
! #include \"basic-block.h\"\n\
  #include \"resource.h\"\n\
  #include \"diagnostic-core.h\"\n\
  #include \"reload.h\"\n\
  #include \"regs.h\"\n\
  #include \"tm-constrs.h\"\n\
- #include \"predict.h\"\n\
  \n");
  
    puts ("\n\
--- 4179,4198 ----
  #include \"config.h\"\n\
  #include \"system.h\"\n\
  #include \"coretypes.h\"\n\
! #include \"backend.h\"\n\
  #include \"rtl.h\"\n\
  #include \"tm_p.h\"\n\
  #include \"emit-rtl.h\"\n\
  #include \"insn-config.h\"\n\
  #include \"recog.h\"\n\
  #include \"output.h\"\n\
  #include \"flags.h\"\n\
! #include \"df.h\"\n\
  #include \"resource.h\"\n\
  #include \"diagnostic-core.h\"\n\
  #include \"reload.h\"\n\
  #include \"regs.h\"\n\
  #include \"tm-constrs.h\"\n\
  \n");
  
    puts ("\n\

Attachment: 9-all.patch.Z
Description: Unix compressed data


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