]> gcc.gnu.org Git - gcc.git/commitdiff
Major cutover to using system.h:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 20 Mar 1998 14:58:42 +0000 (14:58 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 20 Mar 1998 14:58:42 +0000 (14:58 +0000)
        * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
        c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
        caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
        dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
        expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
        integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
        prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
        reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
        rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
        tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
        on system.h.
        * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
        c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
        caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
        dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
        expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
        integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
        prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
        reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
        rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
        stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
        xcoffout.c: Include system.h.  Organize include ordering so
        that stdarg/varargs comes before other system headers.  Remove
        spurious casts of functions assured of a prototype in system.h.

From-SVN: r18726

62 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/alias.c
gcc/bitmap.c
gcc/c-aux-info.c
gcc/c-common.c
gcc/c-decl.c
gcc/c-iterate.c
gcc/c-lang.c
gcc/c-lex.c
gcc/c-pragma.c
gcc/c-typeck.c
gcc/caller-save.c
gcc/calls.c
gcc/collect2.c
gcc/combine.c
gcc/cse.c
gcc/dbxout.c
gcc/dwarf2out.c
gcc/dwarfout.c
gcc/emit-rtl.c
gcc/except.c
gcc/explow.c
gcc/expmed.c
gcc/expr.c
gcc/final.c
gcc/flow.c
gcc/function.c
gcc/gcc.c
gcc/getpwd.c
gcc/global.c
gcc/integrate.c
gcc/jump.c
gcc/local-alloc.c
gcc/loop.c
gcc/optabs.c
gcc/pexecute.c
gcc/prefix.c
gcc/print-rtl.c
gcc/print-tree.c
gcc/profile.c
gcc/real.c
gcc/recog.c
gcc/reg-stack.c
gcc/regclass.c
gcc/regmove.c
gcc/reload.c
gcc/reload1.c
gcc/reorg.c
gcc/rtl.c
gcc/rtlanal.c
gcc/sched.c
gcc/sdbout.c
gcc/stmt.c
gcc/stor-layout.c
gcc/stupid.c
gcc/tlink.c
gcc/toplev.c
gcc/tree.c
gcc/unroll.c
gcc/varasm.c
gcc/xcoffout.c

index d745315f29c37a827d8932f56383f0782962468a..a05afa8781c1c152829ed29976f15f553e4acc46 100644 (file)
@@ -1,3 +1,31 @@
+Fri Mar 20 17:36:23 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
+       c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
+       caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
+       dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
+       expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
+       integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
+       prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
+       reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
+       rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
+       tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
+       on system.h.
+
+       * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
+       c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
+       caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
+       dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
+       expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
+       integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
+       prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
+       reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
+       rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
+       stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
+       xcoffout.c: Include system.h.  Organize include ordering so
+       that stdarg/varargs comes before other system headers.  Remove
+       spurious casts of functions assured of a prototype in system.h.
+
 Fri Mar 20 11:19:40 1998  Stan Cox  <scox@equinox.cygnus.com>
 
        * reg-stack.c (pop_stack): Define. Pops any register on the
index ec91439bbe24d290f3b157c8bace81ac14a34369..b5e9c3f58cf76d57f773c23cdef69c914e946d11 100644 (file)
@@ -1238,16 +1238,19 @@ $(srcdir)/c-gperf.h: c-parse.gperf
           $(srcdir)/c-parse.gperf >tmp-gperf.h
         $(srcdir)/move-if-change tmp-gperf.h $(srcdir)/c-gperf.h
 
-c-decl.o : c-decl.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h output.h
-c-typeck.o : c-typeck.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h output.h
-c-lang.o : c-lang.c $(CONFIG_H) $(TREE_H)
-c-lex.o : c-lex.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-lex.h c-tree.h \
+c-decl.o : c-decl.c $(CONFIG_H) system.h $(TREE_H) c-tree.h c-lex.h flags.h \
+    output.h
+c-typeck.o : c-typeck.c $(CONFIG_H) system.h $(TREE_H) c-tree.h flags.h \
+    output.h
+c-lang.o : c-lang.c $(CONFIG_H) system.h $(TREE_H)
+c-lex.o : c-lex.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-lex.h c-tree.h \
     $(srcdir)/c-parse.h input.h flags.h $(srcdir)/c-gperf.h c-pragma.h
-c-aux-info.o : c-aux-info.c  $(CONFIG_H) $(TREE_H) c-tree.h flags.h
-c-convert.o : c-convert.c $(CONFIG_H) $(TREE_H) flags.h
-c-pragma.o: c-pragma.c $(CONFIG_H) $(TREE_H) except.h function.h \
+c-aux-info.o : c-aux-info.c  $(CONFIG_H) system.h $(TREE_H) c-tree.h flags.h
+c-convert.o : c-convert.c $(CONFIG_H) system.h $(TREE_H) flags.h
+c-pragma.o: c-pragma.c $(CONFIG_H) system.h $(TREE_H) except.h function.h \
     defaults.h c-pragma.h
-c-iterate.o: c-iterate.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-tree.h flags.h
+c-iterate.o: c-iterate.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-tree.h \
+    flags.h
 
 # To make a configuration always use collect2, set USE_COLLECT2 to ld.
 ld: collect2
@@ -1261,12 +1264,13 @@ collect2: collect2.o tlink.o hash.o cplus-dem.o underscore.o version.o \
        $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ collect2.o tlink.o hash.o \
          cplus-dem.o underscore.o version.o choose-temp.o $(LIBS)
 
-collect2.o : collect2.c $(CONFIG_H) gansidecl.h gstab.h obstack.h $(DEMANGLE_H)
+collect2.o : collect2.c $(CONFIG_H) system.h gansidecl.h gstab.h obstack.h \
+       $(DEMANGLE_H)
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES)  \
        -DTARGET_MACHINE=\"$(target_alias)\" $(MAYBE_USE_COLLECT2) \
        -c `echo $(srcdir)/collect2.c | sed 's,^\./,,'`
 
-tlink.o: tlink.c $(DEMANGLE_H) hash.h $(CONFIG_H)
+tlink.o: tlink.c $(DEMANGLE_H) hash.h $(CONFIG_H) system.h
 hash.o: hash.c hash.h
 cplus-dem.o: cplus-dem.c $(DEMANGLE_H)
 
@@ -1287,7 +1291,7 @@ stamp-under: $(GCC_PASSES)
 
 # A file used by all variants of C.
 
-c-common.o : c-common.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h
+c-common.o : c-common.c $(CONFIG_H) system.h $(TREE_H) c-tree.h c-lex.h flags.h
 
 # Language-independent files.
 
@@ -1297,7 +1301,7 @@ DRIVER_DEFINES = \
   -DDEFAULT_TARGET_VERSION=\"$(version)\" \
   -DDEFAULT_TARGET_MACHINE=\"$(target_alias)\" \
   -DTOOLDIR_BASE_PREFIX=\"$(exec_prefix)/\"
-gcc.o: gcc.c $(CONFIG_H) gansidecl.h system.h multilib.h Makefile \
+gcc.o: gcc.c $(CONFIG_H) system.h gansidecl.h multilib.h Makefile \
        $(lang_specs_files)
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
   $(DRIVER_DEFINES) \
@@ -1308,124 +1312,126 @@ dumpvers: dumpvers.c
 version.o: version.c
 obstack.o: obstack.c $(CONFIG_H)
 choose-temp.o: choose-temp.c $(CONFIG_H) gansidecl.h
-pexecute.o: pexecute.c $(CONFIG_H) gansidecl.h
-prefix.o: prefix.c $(CONFIG_H) gansidecl.h Makefile
+pexecute.o: pexecute.c $(CONFIG_H) system.h gansidecl.h
+prefix.o: prefix.c $(CONFIG_H) system.h gansidecl.h Makefile
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
        -DPREFIX=\"$(prefix)\" \
          -c `echo $(srcdir)/prefix.c | sed 's,^\./,,'`
 
 convert.o: convert.c $(CONFIG_H) $(TREE_H) flags.h convert.h
 
-tree.o : tree.c $(CONFIG_H) $(TREE_H) flags.h function.h
-print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
-stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) flags.h function.h
-fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h system.h
-toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) \
+tree.o : tree.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h
+print-tree.o : print-tree.c $(CONFIG_H) system.h $(TREE_H)
+stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h
+fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h
+toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) \
    flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
    $(lang_options_files)
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
          -DTARGET_NAME=\"$(target_alias)\" \
          -c `echo $(srcdir)/toplev.c | sed 's,^\./,,'`
 
-rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
+rtl.o : rtl.c $(CONFIG_H) system.h $(RTL_H)
 
-print-rtl.o : print-rtl.c $(CONFIG_H) $(RTL_H)
-rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H)
+print-rtl.o : print-rtl.c $(CONFIG_H) system.h $(RTL_H)
+rtlanal.o : rtlanal.c $(CONFIG_H) system.h $(RTL_H)
 
-varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h function.h \
-   defaults.h insn-codes.h expr.h hard-reg-set.h regs.h xcoffout.h \
-   output.h c-pragma.h
-function.o : function.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
-   insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \
-   $(RECOG_H) output.h
-stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
+varasm.o : varasm.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h \
+   function.h defaults.h insn-codes.h expr.h hard-reg-set.h regs.h \
+   xcoffout.h output.h c-pragma.h
+function.o : function.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
+   function.h insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h \
+   insn-config.h $(RECOG_H) output.h
+stmt.o : stmt.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h function.h  \
    insn-flags.h insn-config.h insn-codes.h hard-reg-set.h expr.h except.h \
    loop.h $(RECOG_H)  
-except.o : except.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
-   insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \
-   $(RECOG_H) output.h except.h
-expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h regs.h \
-   insn-flags.h insn-codes.h expr.h insn-config.h $(RECOG_H) output.h \
+except.o : except.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
+   function.h insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h \
+   insn-config.h $(RECOG_H) output.h except.h
+expr.o : expr.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h function.h \
+   regs.h insn-flags.h insn-codes.h expr.h insn-config.h $(RECOG_H) output.h \
    typeclass.h hard-reg-set.h
-calls.o : calls.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h \
-   insn-flags.h regs.h
-expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
+calls.o : calls.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h expr.h \
+   insn-codes.h insn-flags.h regs.h
+expmed.o : expmed.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h  \
    insn-flags.h insn-config.h insn-codes.h expr.h $(RECOG_H) real.h
-explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h hard-reg-set.h \
-   insn-config.h expr.h $(RECOG_H) insn-flags.h insn-codes.h
-optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
+explow.o : explow.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
+   hard-reg-set.h insn-config.h expr.h $(RECOG_H) insn-flags.h insn-codes.h
+optabs.o : optabs.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h  \
    insn-flags.h insn-config.h insn-codes.h expr.h $(RECOG_H) reload.h
-dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h regs.h \
+dbxout.o : dbxout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h regs.h \
    insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h
-sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h except.h \
+sdbout.o : sdbout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h except.h \
    function.h expr.h output.h hard-reg-set.h regs.h defaults.h real.h \
    insn-config.h obstack.h xcoffout.h c-pragma.h
-dwarfout.o : dwarfout.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf.h flags.h \
-   insn-config.h reload.h output.h defaults.h
-dwarf2out.o : dwarf2out.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf2.h flags.h \
-   insn-config.h insn-codes.h reload.h output.h defaults.h hard-reg-set.h \
-   regs.h expr.h
-xcoffout.o : xcoffout.c $(CONFIG_H) $(TREE_H) $(RTL_H) xcoffout.h flags.h
-emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h except.h \
-   function.h regs.h insn-config.h insn-codes.h $(RECOG_H) real.h expr.h \
-   obstack.h hard-reg-set.h
-real.o : real.c $(CONFIG_H) $(TREE_H)
-getpwd.o : getpwd.c $(CONFIG_H)
-
-integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h integrate.h \
-   insn-flags.h insn-config.h insn-codes.h expr.h real.h regs.h function.h \
-   output.h $(RECOG_H) except.h
-
-jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \
+dwarfout.o : dwarfout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf.h \
+   flags.h insn-config.h reload.h output.h defaults.h
+dwarf2out.o : dwarf2out.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf2.h \
+   flags.h insn-config.h insn-codes.h reload.h output.h defaults.h \
+   hard-reg-set.h regs.h expr.h
+xcoffout.o : xcoffout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) xcoffout.h \
+   flags.h
+emit-rtl.o : emit-rtl.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
+   except.h function.h regs.h insn-config.h insn-codes.h $(RECOG_H) real.h \
+   expr.h obstack.h hard-reg-set.h
+real.o : real.c $(CONFIG_H) system.h $(TREE_H)
+getpwd.o : getpwd.c $(CONFIG_H) system.h
+
+integrate.o : integrate.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
+   integrate.h insn-flags.h insn-config.h insn-codes.h expr.h real.h regs.h \
+   function.h output.h $(RECOG_H) except.h
+
+jump.o : jump.c $(CONFIG_H) system.h $(RTL_H) flags.h hard-reg-set.h regs.h \
    insn-config.h insn-codes.h insn-flags.h $(RECOG_H) expr.h real.h except.h
-stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h
+stupid.o : stupid.c $(CONFIG_H) system.h $(RTL_H) regs.h hard-reg-set.h flags.h
 
-cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h real.h \
-   insn-config.h insn-codes.h $(RECOG_H) expr.h
-profile.o : profile.c $(CONFIG_H) $(RTL_H) flags.h insn-flags.h gcov-io.h \
-   $(TREE_H) output.h regs.h
-loop.o : loop.c $(CONFIG_H) $(RTL_H) flags.h loop.h insn-config.h \
+cse.o : cse.c $(CONFIG_H) system.h $(RTL_H) regs.h hard-reg-set.h flags.h \
+   real.h insn-config.h insn-codes.h $(RECOG_H) expr.h
+profile.o : profile.c $(CONFIG_H) system.h $(RTL_H) flags.h insn-flags.h \
+   gcov-io.h $(TREE_H) output.h regs.h
+loop.o : loop.c $(CONFIG_H) system.h $(RTL_H) flags.h loop.h insn-config.h \
    insn-flags.h insn-codes.h regs.h hard-reg-set.h $(RECOG_H) expr.h real.h
-unroll.o : unroll.c $(CONFIG_H) $(RTL_H) insn-config.h insn-codes.h \
+unroll.o : unroll.c $(CONFIG_H) system.h $(RTL_H) insn-config.h insn-codes.h \
    integrate.h regs.h $(RECOG_H) flags.h expr.h loop.h
-flow.o : flow.c $(CONFIG_H) $(RTL_H) flags.h insn-config.h \
+flow.o : flow.c $(CONFIG_H) system.h $(RTL_H) flags.h insn-config.h \
    $(BASIC_BLOCK_H) regs.h hard-reg-set.h output.h
-combine.o : combine.c $(CONFIG_H) $(RTL_H) flags.h  \
+combine.o : combine.c $(CONFIG_H) system.h $(RTL_H) flags.h  \
    insn-config.h insn-flags.h insn-codes.h insn-attr.h regs.h expr.h \
    $(BASIC_BLOCK_H) $(RECOG_H) real.h hard-reg-set.h
-regclass.o : regclass.c $(CONFIG_H) $(RTL_H) hard-reg-set.h flags.h \
+regclass.o : regclass.c $(CONFIG_H) system.h $(RTL_H) hard-reg-set.h flags.h \
    $(BASIC_BLOCK_H) regs.h insn-config.h $(RECOG_H) reload.h real.h
-local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) flags.h $(BASIC_BLOCK_H) \
-   regs.h hard-reg-set.h insn-config.h $(RECOG_H) output.h
-bitmap.o : bitmap.c $(CONFIG_H) $(RTL_H) flags.h $(BASIC_BLOCK_H) regs.h
-global.o : global.c $(CONFIG_H) $(RTL_H) flags.h  \
+local-alloc.o : local-alloc.c $(CONFIG_H) system.h $(RTL_H) flags.h \
+   $(BASIC_BLOCK_H) regs.h hard-reg-set.h insn-config.h $(RECOG_H) output.h
+bitmap.o : bitmap.c $(CONFIG_H) system.h $(RTL_H) flags.h $(BASIC_BLOCK_H) \
+   regs.h
+global.o : global.c $(CONFIG_H) system.h $(RTL_H) flags.h  \
    $(BASIC_BLOCK_H) regs.h hard-reg-set.h insn-config.h output.h
 
-reload.o : reload.c $(CONFIG_H) $(RTL_H) flags.h output.h expr.h\
+reload.o : reload.c $(CONFIG_H) system.h $(RTL_H) flags.h output.h expr.h\
    reload.h $(RECOG_H) hard-reg-set.h insn-config.h insn-codes.h regs.h real.h
-reload1.o : reload1.c $(CONFIG_H) $(RTL_H) real.h flags.h expr.h \
+reload1.o : reload1.c $(CONFIG_H) system.h $(RTL_H) real.h flags.h expr.h \
    reload.h regs.h hard-reg-set.h insn-config.h insn-flags.h insn-codes.h \
    $(BASIC_BLOCK_H) $(RECOG_H) output.h
-caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \
+caller-save.o : caller-save.c $(CONFIG_H) system.h $(RTL_H) flags.h \
    regs.h hard-reg-set.h insn-codes.h insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) \
    reload.h expr.h
-reorg.o : reorg.c $(CONFIG_H) $(RTL_H) conditions.h hard-reg-set.h \
+reorg.o : reorg.c $(CONFIG_H) system.h $(RTL_H) conditions.h hard-reg-set.h \
    $(BASIC_BLOCK_H) regs.h insn-config.h insn-codes.h insn-attr.h \
    insn-flags.h $(RECOG_H) flags.h output.h expr.h
-alias.o : alias.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \
+alias.o : alias.c $(CONFIG_H) system.h $(RTL_H) flags.h hard-reg-set.h regs.h \
    insn-codes.h
-regmove.o : regmove.c $(CONFIG_H) $(RTL_H) insn-config.h insn-codes.h \
-   recog.h output.h reload.h regs.h hard-reg-set.h flags.h expr.h insn-flags.h
-$(SCHED_PREFIX)sched.o : $(SCHED_PREFIX)sched.c $(CONFIG_H) $(RTL_H) \
-       $(BASIC_BLOCK_H) regs.h hard-reg-set.h flags.h insn-config.h \
-       insn-attr.h system.h
-final.o : final.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h regs.h \
+regmove.o : regmove.c $(CONFIG_H) system.h $(RTL_H) insn-config.h \
+   insn-codes.h recog.h output.h reload.h regs.h hard-reg-set.h flags.h \
+   expr.h insn-flags.h
+$(SCHED_PREFIX)sched.o : $(SCHED_PREFIX)sched.c $(CONFIG_H) system.h $(RTL_H) \
+   $(BASIC_BLOCK_H) regs.h hard-reg-set.h flags.h insn-config.h insn-attr.h
+final.o : final.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h regs.h \
    $(RECOG_H) conditions.h insn-config.h insn-attr.h except.h real.h output.h \
    hard-reg-set.h insn-flags.h insn-codes.h gstab.h xcoffout.h defaults.h
-recog.o : recog.c $(CONFIG_H) $(RTL_H)  \
+recog.o : recog.c $(CONFIG_H) system.h $(RTL_H)  \
    regs.h $(RECOG_H) hard-reg-set.h flags.h insn-config.h insn-attr.h \
    insn-flags.h insn-codes.h real.h
-reg-stack.o : reg-stack.c $(CONFIG_H) $(RTL_H) $(TREE_H) \
+reg-stack.o : reg-stack.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) \
    regs.h hard-reg-set.h flags.h insn-config.h insn-flags.h
 
 $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) \
index 78e0c7a7e4e8f4263ffbc7943b56d79b2b8a4f99..9f7537d4045080c075312ef68cf94aeba7d9cbde 100644 (file)
@@ -20,16 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "expr.h"
 #include "regs.h"
index 6456708fe45a9e49f8f18fe934994fdeae379b6a..cefbf798283fcd7b95e70330a5151df8754a6a02 100644 (file)
@@ -19,21 +19,13 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "flags.h"
 #include "obstack.h"
 #include "regs.h"
 #include "basic-block.h"
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef NEED_DECLARATION_FREE
-extern void free PROTO((void *));
-#endif
-
 /* Obstack to allocate bitmap elements from.  */
 static struct obstack bitmap_obstack;
 static int bitmap_obstack_init = FALSE;
index a252153e6f8d0866c2701e884d773f0e32d5a661..2f2f8c213ba54d74333d65aad917d5063d6e5fb1 100644 (file)
@@ -22,14 +22,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STRING_H
-# include <string.h>
-#else
-# ifdef HAVE_STRINGS_H
-#  include <strings.h>
-#endif
-#endif
+#include "system.h"
 #include "flags.h"
 #include "tree.h"
 #include "c-tree.h"
index ef5f6910bbfd045bcedfa637c776308c577a2838..952306e1a20db7e86de97d430c9c61d262e5541b 100644 (file)
@@ -19,26 +19,12 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "c-lex.h"
 #include "c-tree.h"
 #include "flags.h"
 #include "obstack.h"
-#include <ctype.h>
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
 
 #ifndef WCHAR_TYPE_SIZE
 #ifdef INT_TYPE_SIZE
index 35a2357544c36eb578293b82d984ec0495772849..bf5d3ac60804da80b4d5bf86ee0ea7a07ff7fe14 100644 (file)
@@ -27,17 +27,13 @@ Boston, MA 02111-1307, USA.  */
    line numbers.  For example, the CONST_DECLs for enum values.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "flags.h"
 #include "output.h"
 #include "c-tree.h"
 #include "c-lex.h"
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
 /* In grokdeclarator, distinguish syntactic contexts of declarators.  */
 enum decl_context
 { NORMAL,                      /* Ordinary declaration */
index f8dec10b98b395d7ba823d4bad0a47a348b2ff00..de6fd116873b662e33b392d802aba9f158e96a93 100644 (file)
@@ -1,5 +1,5 @@
 /* Build expressions with type checking for C compiler.
-   Copyright (C) 1987, 88, 89, 92, 93, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1987, 88, 89, 92, 93, 96, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA.  */
    both their declarations and the expansion of statements using them.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "c-tree.h"
 #include "flags.h"
@@ -255,6 +255,8 @@ collect_iterators (exp, list)
                break;
              case RTL_EXPR:
                return list;
+             default:
+               break;
              }
                
            for (i = 0; i < num_args; i++)
index 19d742ab134e26341c5f2b98210d80d385c3860f..4b4a6840e35cf34dde08693ec3ff4ca3d3c7af54 100644 (file)
@@ -20,8 +20,8 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
+#include "system.h"
 #include "tree.h"
-#include <stdio.h>
 #include "input.h"
 
 /* Each of the functions defined here
index 22e7e5f5c5c678be6f95817c10954ded55ae5d47..d32f7a833b194133d965e984ce7b1b36a7fd955a 100644 (file)
@@ -19,20 +19,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-
-#include <stdio.h>
-#include <errno.h>
+#include "system.h"
 #include <setjmp.h>
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
 
 #include "rtl.h"
 #include "tree.h"
@@ -43,8 +31,6 @@ Boston, MA 02111-1307, USA.  */
 #include "c-parse.h"
 #include "c-pragma.h"
 
-#include <ctype.h>
-
 /* MULTIBYTE_CHARS support only works for native compilers.
    ??? Ideally what we want is to model widechar support after
    the current floating point support.  */
@@ -53,14 +39,9 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 #ifdef MULTIBYTE_CHARS
-#include <stdlib.h>
 #include <locale.h>
 #endif
 
-#ifndef errno
-extern int errno;
-#endif
-
 #if USE_CPPLIB
 #include "cpplib.h"
 cpp_reader parse_in;
index a37aa98755f3ada8960b308a6eff8a7ce2b0d7db..480daca02987d3ce61e5a4b99cda8808cc384067 100644 (file)
@@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "except.h"
 #include "function.h"
index 791968b29e866541721dd6451633796ea936ed4c..ad2833ec1618fcd4eff5fe64d1802a82995ed273 100644 (file)
@@ -29,36 +29,16 @@ Boston, MA 02111-1307, USA.  */
    like a strange sort of assignment).  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "c-tree.h"
 #include "flags.h"
 #include "output.h"
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
 /* Nonzero if we've already printed a "missing braces around initializer"
    message within this initializer.  */
 static int missing_braces_mentioned;
 
-#ifdef NEED_DECLARATION_INDEX
-extern char *index ();
-#endif
-
-#ifdef NEED_DECLARATION_RINDEX
-extern char *rindex ();
-#endif
-
 static tree qualify_type               PROTO((tree, tree));
 static int comp_target_types           PROTO((tree, tree));
 static int function_types_compatible_p PROTO((tree, tree));
index 4053aa093d57eb2442ba9d5fdb89fffeec4b6308..57dfbb8c91ef11854fb4fabf385f736a33a9c9ef 100644 (file)
@@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "insn-config.h"
 #include "flags.h"
index 86dc28bcba63ad4a0211f22e2009aebf8ea39da3..bb9197a5f0e3265c4dc61feaa797fb78ebf4fbcb 100644 (file)
@@ -19,17 +19,17 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
-#include "rtl.h"
-#include "tree.h"
-#include "flags.h"
-#include "expr.h"
-#include "regs.h"
 #ifdef __STDC__
 #include <stdarg.h>
 #else
 #include <varargs.h>
 #endif
+#include "system.h"
+#include "rtl.h"
+#include "tree.h"
+#include "flags.h"
+#include "expr.h"
+#include "regs.h"
 #include "insn-flags.h"
 
 /* Decide whether a function's arguments should be processed
index 89feaa4c185727860eb5f9676ca546b390964e85..1a26e5bd371479bc1ba4eabf0bf8e7bd173a7101 100644 (file)
@@ -26,40 +26,16 @@ Boston, MA 02111-1307, USA.  */
 /* Build tables of static constructors and destructors and run ld.  */
 
 #include "config.h"
-#include <sys/types.h>
-#include <stdio.h>
-#include <ctype.h>
-#include <errno.h>
+#include "system.h"
 #include <signal.h>
-#include <sys/file.h>
 #include <sys/stat.h>
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
 #define COLLECT
 
 #include "demangle.h"
 #include "obstack.h"
 #include "gansidecl.h"
 
-#ifndef errno
-extern int errno;
-#endif
-
 #ifndef HAVE_STRERROR
 extern char *sys_errlist[];
 extern int sys_nerr;
@@ -75,12 +51,6 @@ char *strerror();
 #define vfork fork
 #endif
 
-#ifndef R_OK
-#define R_OK 4
-#define W_OK 2
-#define X_OK 1
-#endif
-
 #ifndef WIFSIGNALED
 #define WIFSIGNALED(S) (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)
 #endif
@@ -272,7 +242,6 @@ char * temporary_firstobj;
 /* Defined in the automatically-generated underscore.c.  */
 extern int prepends_underscore;
 
-extern char *getenv ();
 extern char *mktemp ();
 extern FILE *fdopen ();
 
@@ -337,17 +306,6 @@ static int ignore_library  PROTO((char *));
 char *xcalloc ();
 char *xmalloc ();
 
-#ifdef NEED_DECLARATION_INDEX
-extern char *index ();
-#endif
-
-#ifdef NEED_DECLARATION_RINDEX
-extern char *rindex ();
-#endif
-
-#ifdef NEED_DECLARATION_FREE
-extern void free ();
-#endif
 \f
 #ifdef NO_DUP2
 int
@@ -1028,8 +986,8 @@ main (argc, argv)
      and a new one is installed (rare, but we should handle it).
      ??? Hopefully references to COLLECT_NAME can be removed at some point.  */
 
-  collect_name = (char *) getenv ("COLLECT_NAME");
-  collect_names = (char *) getenv ("COLLECT_NAMES");
+  collect_name = getenv ("COLLECT_NAME");
+  collect_names = getenv ("COLLECT_NAMES");
 
   p = (char *) xmalloc (strlen ("COLLECT_NAMES=")
                        + (collect_name ? strlen (collect_name) + 1 : 0)
@@ -1055,7 +1013,7 @@ main (argc, argv)
   sprintf (p, "COLLECT_NAME=%s", argv[0]);
   putenv (p);
 
-  p = (char *) getenv ("COLLECT_GCC_OPTIONS");
+  p = getenv ("COLLECT_GCC_OPTIONS");
   while (p && *p)
     {
       char *q = extract_string (&p);
@@ -1272,7 +1230,7 @@ main (argc, argv)
      AIX support needs to know if -shared has been specified before
      parsing commandline arguments.  */
 
-  p = (char *) getenv ("COLLECT_GCC_OPTIONS");
+  p = getenv ("COLLECT_GCC_OPTIONS");
   while (p && *p)
     {
       char *q = extract_string (&p);
index 6404787db2ea693b37f20aac9022a0c4f253b31f..8cb32dc67c696cd73e676c5e912d54a76faed50f 100644 (file)
@@ -81,8 +81,8 @@ Boston, MA 02111-1307, USA.  */
 #include <varargs.h>
 #endif
 
-/* Must precede rtl.h for FFS.  */
-#include <stdio.h>
+/* stdio.h must precede rtl.h for FFS.  */
+#include "system.h"
 
 #include "rtl.h"
 #include "flags.h"
index b525dccdfec5d4ebdf4c54a4ac723852c5d634ea..823c6f0afaca240231e2bdfbaa55d7730b27d87b 100644 (file)
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -20,8 +20,8 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-/* Must precede rtl.h for FFS.  */
-#include <stdio.h>
+/* stdio.h must precede rtl.h for FFS.  */
+#include "system.h"
 
 #include "rtl.h"
 #include "regs.h"
index 0a158622fc8633d2a09823dd46a0bd4adda31924..dffbd1924527ad62b251aa26aa3aaecef2031684 100644 (file)
@@ -68,17 +68,7 @@ Boston, MA 02111-1307, USA.  */
    For more on data type definitions, see `dbxout_type'.  */
 
 #include "config.h"
-
-#include <stdio.h>
-#include <errno.h>
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
+#include "system.h"
 
 #include "tree.h"
 #include "rtl.h"
@@ -89,10 +79,6 @@ Boston, MA 02111-1307, USA.  */
 #include "defaults.h"
 #include "output.h" /* ASM_OUTPUT_SOURCE_LINE may refer to sdb functions.  */
 
-#ifndef errno
-extern int errno;
-#endif
-
 #ifdef XCOFF_DEBUGGING_INFO
 #include "xcoffout.h"
 #endif
index d46aa3a98eac47493a3e467b08e9c6d8e60afe70..56d2004027711a4047018d159b034dac02c03b3d 100644 (file)
@@ -27,18 +27,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    information.  */
 
 #include "config.h"
+#include "system.h"
 #include "defaults.h"
-#include <stdio.h>
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
 #include "tree.h"
 #include "flags.h"
 #include "rtl.h"
index c9fb09e95984dc1706421dc920043c13108dc363..0f1e62bd28f91a37bfc08399e8cc59ad1f12bfcd 100644 (file)
@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA.  */
 #include "config.h"
 
 #ifdef DWARF_DEBUGGING_INFO
-#include <stdio.h>
+#include "system.h"
 #include "dwarf.h"
 #include "tree.h"
 #include "flags.h"
@@ -34,30 +34,11 @@ Boston, MA 02111-1307, USA.  */
 #include "defaults.h"
 
 #if defined(DWARF_TIMESTAMPS)
-#if defined(POSIX)
-#include <time.h>
-#else /* !defined(POSIX) */
-#include <sys/types.h>
-#if defined(__STDC__)
-extern time_t time (time_t *);
-#else /* !defined(__STDC__) */
-extern time_t time ();
-#endif /* !defined(__STDC__) */
+#if !defined(POSIX)
+extern time_t time PROTO ((time_t *)); /* FIXME: use NEED_DECLARATION_TIME */
 #endif /* !defined(POSIX) */
 #endif /* defined(DWARF_TIMESTAMPS) */
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
 /* We cannot use <assert.h> in GCC source, since that would include
    GCC's assert.h, which may not be compatible with the host compiler.  */
 #undef assert
@@ -69,14 +50,6 @@ extern time_t time ();
 
 extern char *getpwd ();
 
-#ifdef NEED_DECLARATION_INDEX
-extern char *index ();
-#endif
-
-#ifdef NEED_DECLARATION_RINDEX
-extern char *rindex ();
-#endif
-
 /* IMPORTANT NOTE: Please see the file README.DWARF for important details
    regarding the GNU implementation of Dwarf.  */
 
index 442c740b1159e6ced0f526467be763d45dbaea4d..e6c07aae1f2562047e00c4a9f497fbdd54c00d71 100644 (file)
@@ -35,12 +35,12 @@ Boston, MA 02111-1307, USA.  */
    is the kind of rtx's they make and what arguments they use.  */
 
 #include "config.h"
-#include <stdio.h>
 #ifdef __STDC__
 #include <stdarg.h>
 #else
 #include <varargs.h>
 #endif
+#include "system.h"
 #include "rtl.h"
 #include "tree.h"
 #include "flags.h"
index de538faaafcdd17618ca6cb7615554319c7e3590..46795835b82c03d353a33046391e932d7b36ba10 100644 (file)
@@ -390,7 +390,7 @@ Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
 #include "defaults.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "tree.h"
 #include "flags.h"
@@ -405,10 +405,6 @@ Boston, MA 02111-1307, USA.  */
 #include "recog.h"
 #include "output.h"
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
 /* One to use setjmp/longjmp method of generating code for exception
    handling.  */
 
index 33d6e9d9d1418b58979a3f9eecdd1e1741050be1..6b08946e687d4131610dbca27e5af7e76f75330b 100644 (file)
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "tree.h"
 #include "flags.h"
index f6da8acd48ad5ecfd49216d0efcf476308d5f2a5..fc04b376398bb3c01a47912ddeb23337a6b37f48 100644 (file)
@@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "tree.h"
 #include "flags.h"
index 178f4f1e1ad0b02e6d7dc97b5e44fa3a8cb75321..f1397c5ebac822c36c8a7a40eebfe3321d220e02 100644 (file)
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "machmode.h"
 #include "rtl.h"
 #include "tree.h"
index 07b589eeb3bf1dbe9d586e8be1bf548901dfcbf4..74a6d15d74370062289ec2a77e265c9939800bb8 100644 (file)
@@ -50,18 +50,7 @@ Boston, MA 02111-1307, USA.  */
 #else
 #include <varargs.h>
 #endif
-#include <stdio.h>
-#include <ctype.h>
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
+#include "system.h"
 
 #include "tree.h"
 #include "rtl.h"
index 09dacf50deee99a7bbbdc0c9287cf5a1891cd0f2..e5fe01058678515b882470ade359ad7ff3d2331a 100644 (file)
@@ -109,8 +109,7 @@ Boston, MA 02111-1307, USA.  */
    reg_n_calls_crosses and reg_basic_block.  */
 \f
 #include "config.h"
-#include <sys/types.h>
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "basic-block.h"
 #include "insn-config.h"
index ac4a4982fa131226fb49ccc1403bf037dfa1232f..062e631ed92dde9e467db795a862e5cbc4c7db45 100644 (file)
@@ -39,10 +39,7 @@ Boston, MA 02111-1307, USA.  */
    then scans all the RTL instructions so far generated to correct them.  */
 
 #include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "tree.h"
 #include "flags.h"
index c558de3beac0b87bac2cbda7684f8a86ddf2e97b..ab376553a6e49d4e36cd41dd69fe5a5edb651525 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -33,17 +33,16 @@ compilation is specified by a string called a "spec".  */
 \f
 #include "config.h"
 
-#include "gansidecl.h"
-#include "system.h"
-
-#include <signal.h>
-#include <sys/stat.h>
 #ifdef __STDC__
 #include <stdarg.h>
 #else
 #include <varargs.h>
 #endif
+#include "system.h"
+#include <signal.h>
+#include <sys/stat.h>
 
+#include "gansidecl.h"
 #include "obstack.h"
 
 
@@ -4416,7 +4415,7 @@ main (argc, argv)
        first_time = FALSE;
        obstack_grow (&collect_obstack, "'-", 2);
         q = switches[i].part1;
-       while ((p = (char *) index (q,'\'')))
+       while ((p = index (q,'\'')))
           {
             obstack_grow (&collect_obstack, q, p-q);
             obstack_grow (&collect_obstack, "'\\''", 4);
@@ -4429,7 +4428,7 @@ main (argc, argv)
          {
            obstack_grow (&collect_obstack, " '", 2);
            q = *args;
-           while ((p = (char *) index (q,'\'')))
+           while ((p = index (q,'\'')))
              {
                obstack_grow (&collect_obstack, q, p-q);
                obstack_grow (&collect_obstack, "'\\''", 4);
index e48b277b95ab2195ef231bf53c83774c1ca5ca0e..6830c164acf12aa50841ade400092dc7eca0a125 100644 (file)
@@ -1,21 +1,14 @@
 /* getpwd.c - get the working directory */
 
 #include "config.h"
-
-#include <errno.h>
-#include <sys/types.h>
+#include "system.h"
 #include <sys/stat.h>
 
-#ifndef errno
-extern int errno;
-#endif
-
 /* Virtually every UN*X system now in common use (except for pre-4.3-tahoe
    BSD systems) now provides getcwd as called for by POSIX.  Allow for
    the few exceptions to the general rule here.  */
 
 #if !(defined (POSIX) || defined (USG) || defined (VMS)) || defined (HAVE_GETWD)
-#include <sys/param.h>
 extern char *getwd ();
 #define getcwd(buf,len) getwd(buf)
 #ifdef MAXPATHLEN
@@ -29,10 +22,9 @@ extern char *getcwd ();
 #define GUESSPATHLEN 100
 #endif /* (defined (USG) || defined (VMS)) */
 
-char *getenv ();
 char *xmalloc ();
 
-#ifndef VMS
+#if !(defined (VMS) || (defined(_WIN32) && !defined(__CYGWIN32__)))
 
 /* Get the working directory.  Use the PWD environment variable if it's
    set correctly, since this is faster and gives more uniform answers
@@ -80,7 +72,7 @@ getpwd ()
   return p;
 }
 
-#else  /* VMS */
+#else  /* VMS || _WIN32 && !__CYGWIN32__ */
 
 #ifndef MAXPATHLEN
 #define MAXPATHLEN 255
@@ -91,8 +83,13 @@ getpwd ()
 {
   static char *pwd = 0;
 
-  if (!pwd) pwd = getcwd (xmalloc (MAXPATHLEN+1), MAXPATHLEN+1);
+  if (!pwd)
+    pwd = getcwd (xmalloc (MAXPATHLEN + 1), MAXPATHLEN + 1
+#ifdef VMS
+                 , 0
+#endif
+                 );
   return pwd;
 }
 
-#endif /* VMS */
+#endif /* VMS || _WIN32 && !__CYGWIN32__ */
index a97c27d662f6bd47b1580c26b81941598c94b2eb..0f8c143fcfbfd2ecee2d084995f2bba60f1421e4 100644 (file)
@@ -20,11 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 
 #include "rtl.h"
 #include "flags.h"
index d31b3b3ed6e1b5b87dbf0f946961a977fb17be2d..e6258b33b05bf4454aa5245d9020be37dfca4a61 100644 (file)
@@ -21,11 +21,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 
 #include "rtl.h"
 #include "tree.h"
index 4b7a5f4d035da22acfdff82373043fc19e0fff40..e0d20a60caf21d148777b9039abf33dd178f244a 100644 (file)
@@ -52,7 +52,7 @@ Boston, MA 02111-1307, USA.  */
    from other passes as well.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "flags.h"
 #include "hard-reg-set.h"
index cb126a4f7db7ab961c357fc6b1a1e4c773fa9890..cff332f5267d6aec823c6e3c4913e9e9c3152ce6 100644 (file)
@@ -60,10 +60,7 @@ Boston, MA 02111-1307, USA.  */
    here if their preferred class is likely to be used by spills.  */
 
 #include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "flags.h"
 #include "basic-block.h"
index 5e3039f18ff3d5603a31c6500189123063d39efa..2a503324986486cd8e8329ac91e5500d0068f848 100644 (file)
@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA.  */
    while to do these things.  */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "obstack.h"
 #include "expr.h"
index e8f10372d9593a4a936411076eac87a4c72207fd..e69b4a1756e4b4c8ba4c6aced586346ae72bbadf 100644 (file)
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "tree.h"
 #include "flags.h"
@@ -30,7 +30,6 @@ Boston, MA 02111-1307, USA.  */
 #include "insn-config.h"
 #include "recog.h"
 #include "reload.h"
-#include <ctype.h>
 
 /* Each optab contains info on how this target machine
    can perform a particular operation
index 38b5874f27c9ed527915af6faf90e306f26a62b5..45a5a8e665e3a36d132ecc4d57c58b8b38b5fb8c 100644 (file)
@@ -27,11 +27,7 @@ Boston, MA 02111-1307, USA.  */
 #include "config.h"
 #endif
 
-#include <stdio.h>
-#include <errno.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
+#include "system.h"
 
 #ifdef IN_GCC
 #include "gansidecl.h"
index 09f4f193c4e29e8db71d54f9448808e42da63b91..f270172e5fa4ab9b3e2b6ee9d361be1d9726340f 100644 (file)
@@ -64,29 +64,18 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include "gansidecl.h"
 #ifdef __STDC__
 #include <stdarg.h>
 #else
 #include <varargs.h>
 #endif
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
+#include "system.h"
 #ifdef _WIN32
 #include <windows.h>
 #endif
 
+#include "gansidecl.h"
+
 static char *get_key_value     PROTO((char *));
 static char *translate_name    PROTO((char *));
 static char *concat            PVPROTO((char *, ...));
@@ -97,8 +86,6 @@ static char *lookup_key               PROTO((char *));
 static HKEY reg_key = (HKEY) INVALID_HANDLE_VALUE;
 #endif
 
-extern char *getenv ();
-
 /* Given KEY, as above, return its value.  */
 
 static char *
index 8db02fe94a382b85e5e3a1e9088e20df647067b7..2bdc6122c8d97c5bacc998c39b9495fe688a82a8 100644 (file)
@@ -20,8 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <ctype.h>
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 
 
index 5b81bc5dd9f83511781b4dbe0e7425c61728e8d6..3d43d18b8a21dbc12b4d9a2c6664a09f934646f1 100644 (file)
@@ -20,8 +20,8 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
+#include "system.h"
 #include "tree.h"
-#include <stdio.h>
 
 extern char *mode_name[];
 
index 5d319f470a3fd0704f00ff81744c47401d6fea4d..39a375ed54c270c877975b1db7e154ce16747e28 100644 (file)
@@ -41,14 +41,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    achieve this, see Dain Sample's UC Berkeley thesis.  */
 
 #include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "flags.h"
 #include "insn-flags.h"
@@ -60,7 +53,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "gcov-io.h"
 
 extern char * xmalloc ();
-extern void free ();
 
 /* One of these is dynamically created whenever we identify an arc in the
    function.  */
index afef6c14043ec5cfe82856571839a717aa744221..29dcfcd4fa8ac43d549f74c3a528b29baac22de7 100644 (file)
@@ -21,14 +21,9 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
-#include <stdio.h>
-#include <errno.h>
+#include "system.h"
 #include "tree.h"
 
-#ifndef errno
-extern int errno;
-#endif
-
 /* To enable support of XFmode extended real floating point, define
 LONG_DOUBLE_TYPE_SIZE 96 in the tm.h file (m68k.h or i386.h).
 
index 32daf793af747bc3f230317c5477f7fe78730e99..ad9dff29d07bac40278deb9d6f8f02c4b25dc71f 100644 (file)
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "insn-config.h"
 #include "insn-attr.h"
index af94021e9cb0883ca44871ccaa0b400d0a75b697..3a2fe4301b1459bd11bd561f4911da435b2557c6 100644 (file)
@@ -158,7 +158,7 @@ Boston, MA 02111-1307, USA.  */
    */
 \f
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "rtl.h"
 #include "insn-config.h"
index e96420bcfea69687bebf3d7e213693dde10ccb5b..1114ba74cc8019adbd7f3580a930c399da61efa7 100644 (file)
@@ -24,10 +24,7 @@ Boston, MA 02111-1307, USA.  */
    and a function init_reg_sets to initialize the tables.  */
 
 #include "config.h"
-#include <stdio.h>
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "hard-reg-set.h"
 #include "flags.h"
index 3f85f7b0a25d09e57380cf3dece43826204928f5..54a54b309a9b8816036eddba0701034a592fdfa9 100644 (file)
@@ -30,8 +30,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <varargs.h>
 #endif
 
-/* Must precede rtl.h for FFS.  */
-#include <stdio.h>
+/* stdio.h must precede rtl.h for FFS.  */
+#include "system.h"
 
 #include "rtl.h"
 #include "insn-config.h"
index b21eab7349bc643d0d921133518197de2a85bce0..2783686fdb86d0097bb4534df1a413c2c039d3bf 100644 (file)
@@ -88,7 +88,7 @@ a register with any other reload.  */
 #define REG_OK_STRICT
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "insn-config.h"
 #include "insn-codes.h"
index e843ceabe92528e9b2d7b6b1238ecdd38e9c44da..6b2720a113383e959a7c53333e93ade513b5f6c1 100644 (file)
@@ -20,10 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "obstack.h"
 #include "insn-config.h"
index f0bda909e9ef64e9cf142009b79191f846a3284c..d74ba1040a90bb1998b95de818d898a9253a2108 100644 (file)
@@ -116,7 +116,7 @@ Boston, MA 02111-1307, USA.  */
    effect to the ARM, differing mostly in which insn is "in charge".   */
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "expr.h"
 #include "insn-config.h"
index 1de50c21202bc14c4fd2fcb38f30493106cfade5..4bed8c7221e36ecea7469feb2124ee6f53a0789f 100644 (file)
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -20,11 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <ctype.h>
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "real.h"
 
index 7a4fecdc59bb58a200f1ad8dd35cafd50faa94da..ffd420e3c5aa9a5c139e90b4d18e62b9b49bed58 100644 (file)
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 
 static int rtx_addr_can_trap_p PROTO((rtx));
index f2ee7edcae837639c095f426b3575b7e6899ef41..b539569dfb6ebfb23540f5b650c7b935f741f78f 100644 (file)
@@ -118,10 +118,7 @@ Boston, MA 02111-1307, USA.  */
    beginning of basic blocks that have been scheduled.  */
 \f
 #include "config.h"
-#include <stdio.h>
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include "rtl.h"
 #include "basic-block.h"
 #include "regs.h"
index a18afe3fc81a51c68d4e89635e5dc9541bf1935d..dcef9d8bd6cdfe5b6252da4c5a5d9e966558e44c 100644 (file)
@@ -44,7 +44,7 @@ AT&T C compiler.  From the example below I would conclude the following:
 
 #ifdef SDB_DEBUGGING_INFO
 
-#include <stdio.h>
+#include "system.h"
 #include "tree.h"
 #include "rtl.h"
 #include "regs.h"
index 6b370ba275662e219734815cc50bd6607f35f361..207a4adde4676c2ed813d4655c41be4d5c5ac386 100644 (file)
@@ -34,13 +34,7 @@ Boston, MA 02111-1307, USA.  */
    after parsing the then-clause.  */
 
 #include "config.h"
-
-#include <stdio.h>
-#include <ctype.h>
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 
 #include "rtl.h"
 #include "tree.h"
index 491af0ffcd19218d689c74861eb7aae2de0aa525..3c940006bb099e95f3fc75139f02267f85b26892 100644 (file)
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 
 #include "tree.h"
 #include "flags.h"
index 318b5b1a18ef20d83b2a5e3ed856972c93bb9587..3af13a104b0408fa276dcec1b05c3cbf72ce6ea6 100644 (file)
@@ -43,11 +43,7 @@ Boston, MA 02111-1307, USA.  */
    and assigned hard regs in priority order.  */
 
 #include "config.h"
-#include <stdio.h>
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 
 #include "rtl.h"
 #include "hard-reg-set.h"
index 86b227a9bd18b85dbf64f35846fa2630aa625eef..06207dda135c30a6a8197ced9e7b15b6d3c956ec 100644 (file)
@@ -20,28 +20,11 @@ You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#include <stdio.h>
-#include <ctype.h>
 #include "config.h"
+#include "system.h"
 #include "hash.h"
 #include "demangle.h"
 
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-
 #define MAX_ITERATIONS 17
 
 /* Obstack allocation and deallocation routines.  */
@@ -49,12 +32,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define obstack_chunk_free free
 
 extern char * xmalloc PARAMS((unsigned));
-#ifdef NEED_DECLARATION_FREE
-extern void free ();
-#endif
-#ifdef NEED_DECLARATION_GETENV
-extern char * getenv ();
-#endif
 
 /* Defined in collect2.c.  */
 extern int vflag, debug;
@@ -306,10 +283,10 @@ static char *
 frob_extension (s, ext)
      char *s, *ext;
 {
-  char *p = (char *) rindex (s, '/');
+  char *p = rindex (s, '/');
   if (! p)
     p = s;
-  p = (char *) rindex (p, '.');
+  p = rindex (p, '.');
   if (! p)
     p = s + strlen (s);
 
@@ -575,7 +552,7 @@ scan_linker_output (fname)
        /* Try a mangled name in `quotes'.  */
        {
          demangled *dem = 0;
-         p = (char *) index (q+1, '`');
+         p = index (q+1, '`');
          q = 0;
 
 #define MUL "multiple definition of "
@@ -586,7 +563,7 @@ scan_linker_output (fname)
              char *beg = p - sizeof (MUL) + 1;
              *p = 0;
              if (!strcmp (beg, MUL) || !strcmp (beg, UND))
-               p++, q = (char *) index (p, '\'');
+               p++, q = index (p, '\'');
            }
          if (q)
            *q = 0, dem = demangled_hash_lookup (p, false);
index 70dddc24bd336eb9d3af8f54a8f63e573d294f67..5fbf36dedba81a7214f15be279d40efea9b61c73 100644 (file)
@@ -29,43 +29,12 @@ Boston, MA 02111-1307, USA.  */
 #else
 #include <varargs.h>
 #endif
-#include <stdio.h>
+#undef FLOAT /* This is for hpux. They should change hpux.  */
+#undef FFS  /* Some systems define this in param.h.  */
+#include "system.h"
 #include <signal.h>
 #include <setjmp.h>
-#include <sys/types.h>
-#include <ctype.h>
 #include <sys/stat.h>
-#undef FLOAT
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#undef FLOAT /* This is for hpux. They should change hpux.  */
-#undef FFS  /* Some systems define this in param.h.  */
-
-#ifdef TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-#  include <time.h>
-#endif
-#endif
 
 #ifdef HAVE_SYS_RESOURCE_H
 # include <sys/resource.h>
index bf16d4c9f20c5bbe806d41709c5e4855e24a8b41..53f2da5dae25d475128a6d8d537df20b1982cab2 100644 (file)
@@ -34,30 +34,18 @@ Boston, MA 02111-1307, USA.  */
    by all passes of the compiler.  */
 
 #include "config.h"
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+#include "system.h"
 #include <setjmp.h>
 #include "flags.h"
 #include "tree.h"
 #include "except.h"
 #include "function.h"
 #include "obstack.h"
-#ifdef __STDC__
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-#include <stdio.h>
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#ifdef NEED_DECLARATION_FREE
-extern void free PROTO((void *));
-#endif
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
 
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
index c9f3772f1568240915c560087a429300f1c5df0c..2191e0c3f27574eeb51efe9bf4b9fec9182a56ce 100644 (file)
@@ -147,7 +147,7 @@ struct _factor { int factor, count; } factors[NUM_FACTORS]
 enum unroll_types { UNROLL_COMPLETELY, UNROLL_MODULO, UNROLL_NAIVE };
 
 #include "config.h"
-#include <stdio.h>
+#include "system.h"
 #include "rtl.h"
 #include "insn-config.h"
 #include "integrate.h"
index c7783d039c88da11894abfac5fe14659456abc9f..42dca296f9ca12b150a847a6484fecb23f96ca86 100644 (file)
@@ -27,10 +27,7 @@ Boston, MA 02111-1307, USA.  */
    and are responsible for combining constants with the same value.  */
 
 #include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
 #include <setjmp.h>
 /* #include <stab.h> */
 #include "rtl.h"
@@ -52,8 +49,6 @@ Boston, MA 02111-1307, USA.  */
 #include "xcoffout.h"
 #endif
 
-#include <ctype.h>
-
 #ifndef TRAMPOLINE_ALIGNMENT
 #define TRAMPOLINE_ALIGNMENT FUNCTION_BOUNDARY
 #endif
index 60f6b32758b9f24081289c7ebf47521651a16dc6..90ed5e3da62f1f4b323a97e399743a855407f5fc 100644 (file)
@@ -1,5 +1,5 @@
 /* Output xcoff-format symbol table information from GNU compiler.
-   Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1994, 1995, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -24,10 +24,8 @@ Boston, MA 02111-1307, USA.  */
    interface.  Many functions are very similar to their counterparts in
    sdbout.c.  */
 
-/* Include this first, because it may define MIN and MAX.  */
-#include <stdio.h>
-
 #include "config.h"
+#include "system.h"
 #include "tree.h"
 #include "rtl.h"
 #include "flags.h"
@@ -113,6 +111,9 @@ char *xcoff_lastfile;
 
 #define ASM_OUTPUT_LBE(FILE,LINENUM,BLOCKNUM) \
   fprintf (FILE, "\t.eb\t%d\n", ABS_OR_RELATIVE_LINENO (LINENUM))
+
+static void assign_type_number         PROTO((tree, char *, int));
+static void xcoffout_block             PROTO((tree, int, tree));
 \f
 /* Support routines for XCOFF debugging info.  */
 
This page took 0.239075 seconds and 5 git commands to generate.