Another minor system.h cutover:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 8 May 1998 06:51:04 +0000 (06:51 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 8 May 1998 06:51:04 +0000 (06:51 +0000)
        * Makefile.in (genrtl.o): Depend on system.h.
        * gengenrtl.c (gencode): When creating genrtl.c, have it
        include system.h.

From-SVN: r19632

gcc/ChangeLog
gcc/Makefile.in
gcc/gengenrtl.c

index 44d300593085f534fa9de3a06d208fa6e68c1ade..9afef3b23b5c7471f700f6bb588d129effa3bcdf 100644 (file)
@@ -1,3 +1,9 @@
+Fri May  8 09:47:29 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (genrtl.o): Depend on system.h.
+       * gengenrtl.c (gencode): When creating genrtl.c, have it
+       include system.h.
+
 Fri May  8 10:57:33 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
        * config/m68k/t-linux: Remove extra stuff already included in
index 9e56cedf3f7b4479fb3c8159c1af50a60dfc790a..1648452b24255968aafec33bd9de56f2d85d4f42 100644 (file)
@@ -1598,7 +1598,7 @@ s-output : $(md_file) genoutput $(srcdir)/move-if-change
        $(srcdir)/move-if-change tmp-output.c insn-output.c
        touch s-output
 
-genrtl.o : genrtl.c $(CONFIG_H) $(RTL_H)
+genrtl.o : genrtl.c $(CONFIG_H) $(RTL_H) system.h
 genrtl.c genrtl.h : s-genrtl
        @true   # force gnu make to recheck modification times.
 
index 6a4b3a46051fe1bfa716dda36c66768ac440271a..b140743b8d7ab94e28da444482e7d8610ad73fa3 100644 (file)
@@ -253,6 +253,7 @@ gencode (f)
   const char **fmt;
 
   fputs ("#include \"config.h\"\n", f);
+  fputs ("#include \"system.h\"\n", f);
   fputs ("#include \"obstack.h\"\n", f);
   fputs ("#include \"rtl.h\"\n\n", f);
   fputs ("extern struct obstack *rtl_obstack;\n\n", f);