OSDN Git Service

Another minor system.h cutover:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 May 1998 06:51:04 +0000 (06:51 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19632 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 44d3005..9afef3b 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 9e56ced..1648452 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 6a4b3a4..b140743 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);