diff mbox

Adjust tilepro generated headers

Message ID 559FC6FC.2080907@redhat.com
State New
Headers show

Commit Message

Andrew MacLeod July 10, 2015, 1:22 p.m. UTC
bah. I forgot that tilepro generates 2 source file that are in the 
source tree... so it overwrites any changes directly to the includes.   
These probably ought to be generated into the build directory so this 
isn't an issue. Although I suppose its probably only an issue for me 
anyway :-P

anyway, tested on the 3 tilepro triplets to verify it compiles... 
checked in as obvious since its basically redoing some previous patches.

Andrew
diff mbox

Patch


2015-07-10  Andrew MacLeod  <amacleod@redhat.com>

	* config/tilepro/gen-mul-tables.cc (main): Change include list for
	generated files.
	* config/tilepro/mul-tables.c: Regenerate.
	* config/tilegx/mul-tables.c: Regenerate.

Index: config/tilepro/gen-mul-tables.cc
===================================================================
*** config/tilepro/gen-mul-tables.cc	(revision 225667)
--- config/tilepro/gen-mul-tables.cc	(working copy)
*************** main ()
*** 1255,1279 ****
    printf ("#include \"config.h\"\n");
    printf ("#include \"system.h\"\n");
    printf ("#include \"coretypes.h\"\n");
!   printf ("#include \"symtab.h\"\n");
!   printf ("#include \"hashtab.h\"\n");
!   printf ("#include \"hash-set.h\"\n");
!   printf ("#include \"vec.h\"\n");
!   printf ("#include \"machmode.h\"\n");
!   printf ("#include \"tm.h\"\n");
!   printf ("#include \"hard-reg-set.h\"\n");
!   printf ("#include \"input.h\"\n");
!   printf ("#include \"function.h\"\n");
    printf ("#include \"rtl.h\"\n");
    printf ("#include \"flags.h\"\n");
-   printf ("#include \"statistics.h\"\n");
-   printf ("#include \"double-int.h\"\n");
-   printf ("#include \"real.h\"\n");
-   printf ("#include \"fixed-value.h\"\n");
    printf ("#include \"alias.h\"\n");
-   printf ("#include \"wide-int.h\"\n");
-   printf ("#include \"inchash.h\"\n");
-   printf ("#include \"tree.h\"\n");
    printf ("#include \"insn-config.h\"\n");
    printf ("#include \"expmed.h\"\n");
    printf ("#include \"dojump.h\"\n");
--- 1255,1265 ----
    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 \"insn-config.h\"\n");
    printf ("#include \"expmed.h\"\n");
    printf ("#include \"dojump.h\"\n");
Index: config/tilepro/mul-tables.c
===================================================================
*** config/tilepro/mul-tables.c	(revision 225667)
--- config/tilepro/mul-tables.c	(working copy)
***************
*** 24,33 ****
  #include "config.h"
  #include "system.h"
  #include "coretypes.h"
  #include "tree.h"
- #include "tm.h"
  #include "rtl.h"
- #include "function.h"
  #include "flags.h"
  #include "alias.h"
  #include "insn-config.h"
--- 24,32 ----
  #include "config.h"
  #include "system.h"
  #include "coretypes.h"
+ #include "backend.h"
  #include "tree.h"
  #include "rtl.h"
  #include "flags.h"
  #include "alias.h"
  #include "insn-config.h"
Index: config/tilegx/mul-tables.c
===================================================================
*** config/tilegx/mul-tables.c	(revision 225667)
--- config/tilegx/mul-tables.c	(working copy)
***************
*** 24,46 ****
  #include "config.h"
  #include "system.h"
  #include "coretypes.h"
  #include "tree.h"
- #include "hashtab.h"
- #include "hash-set.h"
- #include "vec.h"
- #include "machmode.h"
- #include "tm.h"
  #include "rtl.h"
- #include "input.h"
- #include "function.h"
  #include "flags.h"
- #include "statistics.h"
- #include "double-int.h"
- #include "real.h"
- #include "fixed-value.h"
  #include "alias.h"
- #include "wide-int.h"
- #include "inchash.h"
  #include "insn-config.h"
  #include "expmed.h"
  #include "dojump.h"
--- 24,34 ----
  #include "config.h"
  #include "system.h"
  #include "coretypes.h"
+ #include "backend.h"
  #include "tree.h"
  #include "rtl.h"
  #include "flags.h"
  #include "alias.h"
  #include "insn-config.h"
  #include "expmed.h"
  #include "dojump.h"