1. 16 Mar, 1999 1 commit
  2. 06 Mar, 1999 1 commit
    • c-aux-info.c (data_type, [...]): Qualify a char* with the `const' keyword. · dff01034
              * c-aux-info.c (data_type, affix_data_type, gen_decl,
              gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
              Qualify a char* with the `const' keyword.
              * c-common.c (declare_hidden_char_array, add_attribute, if_elt,
              declare_function_name, decl_attributes, format_char_info,
              check_format_info, binary_op_error): Likewise.
              * cexp.y (yyerror, error, pedwarn, warning, token): Likewise.
              * gcse.c (dump_hash_table): Likewise.
              * integrate.c (function_cannot_inline_p): Likewise
              * optabs.c: Include insn-config.h earlier.
              (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
              Qualify a char* with the `const' keyword.
              * real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
              asctoeg, mtherr, ereal_atof): Likewise.
              * real.h (ereal_atof): Likewise.
              * sbitmap.c (dump_sbitmap_vector): Likewise.
              * sbitmap.h (dump_sbitmap_vector): Likewise.
              * stmt.c (nesting, n_occurrences, expand_start_case): Likewise.
              * toplev.c (rest_of_compilation): Likewise.
              * tree.h (function_cannot_inline_p, expand_start_case): Likewise.
      
      From-SVN: r25614
      Kaveh R. Ghazi committed
  3. 15 Feb, 1999 1 commit
    • cccp.c: Don't define HOST_WIDE_INT. · bd86d7e2
              * cccp.c: Don't define HOST_WIDE_INT.  Replace all occurrences of
              WIDE_INT with WIDEST_INT.
              * cexp.y: Likewise.
              Don't define unsigned_HOST_WIDE_INT, CHAR_BIT or
              HOST_BITS_PER_WIDE_INT.  Replace occurrences of PRINTF_PROTO_1()
              style with PVPROTO() ATTRIBUTE_PRINTF_1 style macros.  Replace
              occurrences of "unsigned_HOST" with "unsigned HOST".  Provide a
              definition of variable `c89' when compiling a test binary and set it.
              * system.h: Don't define the PRINTF_PROTO_* macros.
      
      From-SVN: r25217
      Kaveh R. Ghazi committed
  4. 09 Feb, 1999 1 commit
  5. 27 Jan, 1999 1 commit
  6. 11 Jan, 1999 1 commit
  7. 27 Nov, 1998 1 commit
    • system.h: Include libiberty.h. · 2778b98d
              * system.h: Include libiberty.h.
              * c-aux-info.c: Remove prototypes for concat/concat3.  Change
              function `concat' from fixed parameters to variable parameters,
              as is done in libiberty.  All callers of concat/concat3
              changed to use the new `concat' with variable args.
              * cccp.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * cexp.y: Likewise.
              * collect2.c: Likewise.
              * config/1750a/1750a.h: Likewise.
              * cppalloc.c: Likewise.
              * cppexp.c: Likewise.
              * cppfiles.c: Likewise.
              * cpphash.c: Likewise.
              * cpplib.c: Likewise.
              * dyn-string.c: Likewise.
              * fix-header.c: Likewise.
              * gcc.c: Likewise.
              * gcov.c: Likewise.
              * genattr.c: Likewise.
              * genattrtab.c: Likewise.
              * gencheck.c: Likewise.
              * gencodes.c: Likewise.
              * genconfig.c: Likewise.
              * genemit.c: Likewise.
              * genextract.c: Likewise.
              * genflags.c: Likewise.
              * gengenrtl.c: Likewise.
              * genopinit.c: Likewise.
              * genoutput.c: Likewise.
              * genpeep.c: Likewise.
              * genrecog.c: Likewise.
              * getpwd.c: Likewise.
              * halfpic.c: Likewise.
              * hash.c: Likewise.
              * mips-tdump.c: Likewise.  Wrap malloc/realloc/calloc prototypes
              in NEED_DECLARATION_* macros.
              * mips-tfile.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              (fatal): Fix const-ification of variable `format' in
              !ANSI_PROTOTYPES case.
              * prefix.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
              conflicting with function `spaces' from libiberty.
              * profile.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * protoize.c: Likewise.
              * rtl.h: Likewise.
              * scan.h: Likewise.
              * tlink.c: Likewise.
              * toplev.c: Likewise.
              * toplev.h: Likewise.
              * tree.h: Likewise.
      
      From-SVN: r23931
      Kaveh R. Ghazi committed
  8. 08 Nov, 1998 1 commit
    • gansidecl.h: Prepend a "G" to the macro wrapping this file (to distinguish it from the macro... · 5148a72b
              * gansidecl.h: Prepend a "G" to the macro wrapping this file
              (to distinguish it from the macro wrapping ansidecl.h.)
              Include libiberty's ansidecl.h.  Remove all redundant definitions.
              Define the PROTO() style macros in terms of the PARAMS() ones.
              * calls.c (emit_library_call): Switch on ANSI_PROTOTYPES, not
              __STDC__, when deciding whether to use ANSI variable args.
              (emit_library_call_value): Likewise.
              * cccp.c (error): Likewise.
              (warning): Likewise.
              (error_with_line): Likewise.
              (warning_with_line): Likewise.
              (pedwarn): Likewise.
              (pedwarn_with_line): Likewise.
              (pedwarn_with_file_and_line): Likewise.
              (fatal): Likewise.
              * cexp.y (error): Likewise.
              (pedwarn): Likewise.
              (warning): Likewise.
              * collect2.c (fatal_perror): Likewise.
              (fatal): Likewise.
              (error): Likewise.
              * combine.c (gen_rtx_combine): Likewise.
              * cpperror.c (cpp_message): Likewise.
              (cpp_fatal): Likewise.
              * cpplib.c (cpp_error): Likewise.
              (cpp_warning): Likewise.
              (cpp_pedwarn): Likewise.
              (cpp_error_with_line): Likewise.
              (cpp_warning_with_line): Likewise.
              (cpp_pedwarn_with_line): Likewise.
              (cpp_pedwarn_with_file_and_line): Likewise.
              * cpplib.h: Don't define PARAMS() macro.
              * demangle.h: Likewise.
              * doprint.c (checkit): Switch on ANSI_PROTOTYPES, not __STDC__,
              when deciding whether to use ANSI variable args.
              * emit-rtl.c (gen_rtx): Likewise.
              (gen_rtvec): Likewise.
              * final.c (asm_fprintf): Likewise.
              * fix-header.c (cpp_message): Likewise.
              (fatal): Likewise.
              (cpp_fatal): Likewise.
              * gcc.c (concat): Likewise.
              (fatal): Likewise.
              (error): Likewise.
              * genattr.c (fatal): Likewise.
              * genattrtab.c (attr_rtx): Likewise.
              (attr_printf): Likewise.
              (fatal): Likewise.
              * gencodes.c (fatal): Likewise.
              * genconfig.c (fatal): Likewise.
              * genemit.c (fatal): Likewise.
              * genextract.c (fatal): Likewise.
              * genflags.c (fatal): Likewise.
              * genopinit.c (fatal): Likewise.
              * genoutput.c (fatal): Likewise.
              (error): Likewise.
              * genpeep.c (fatal): Likewise.
              * genrecog.c (fatal): Likewise.
              * halfpic.h: Switch on ANSI_PROTOTYPES, not __STDC__, when
              deciding whether to declare `tree_node' and `rtx_def'.
              * hash.h: Don't define stuff we get from gansidecl.h.
              * mips-tfile.c: Likewise.  Define __proto() in terms of PARAMS().
              (fatal): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
              whether to use ANSI variable args.
              (error): Likewise.
              * prefix.c (concat): Likewise.
              * scan.h: Likewise.
              * system.h: Likewise.
              * toplev.c (error_with_file_and_line): Likewise.
              (error_with_decl): Likewise.
              (error_for_asm): Likewise.
              (error): Likewise.
              (fatal): Likewise.
              (warning_with_file_and_line): Likewise.
              (warning_with_decl): Likewise.
              (warning_for_asm): Likewise.
              (warning): Likewise.
              (pedwarn): Likewise.
              (pedwarn_with_decl): Likewise.
              (pedwarn_with_file_and_line): Likewise.
              (sorry): Likewise.
              (really_sorry): Likewise.
              * toplev.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
              whether to declare `tree_node' and `rtx_def'.
              * tree.c (build): Switch on ANSI_PROTOTYPES, not __STDC__, when
              deciding whether to use ANSI variable args.
              (build_nt): Likewise.
              (build_parse_node): Likewise.
      
      From-SVN: r23577
      Kaveh R. Ghazi committed
  9. 07 Nov, 1998 1 commit
    • configure.in (host_xm_file, [...]): Arrange to include gansidecl.h in… · 0056a9b5
      configure.in (host_xm_file, [...]): Arrange to include gansidecl.h in {ht}config.h & tm.h just before the config/...
      
              * configure.in (host_xm_file, build_xm_file, xm_file, tm_file):
              Arrange to include gansidecl.h in {ht}config.h & tm.h just
              before the config/ directory headers.
              (tm_file_list, host_xm_file_list, build_xm_file_list): Handle
              gansidecl.h in the list of dependencies.
              * Makefile.in (RTL_BASE_H): Don't depend on gansidecl.h.
              (TREE_H, DEMANGLE_H, RECOG_H, REGS_H, libgcc2.a, stmp-multilib,
              mbchar.o, collect2.o, pexecute.o, vfprintf.o, splay-tree.o, gcc.o,
              gencheck.o, choose-temp.o, mkstemp.o, mkstemp.o, prefix.o,
              dyn-string.o, cexp.o, cccp.o, cppmain.o, cpplib.o, cpperror.o,
              cppexp.o, cppfiles.o, cpphash.o, cppalloc.o, scan-decls.o):
              Likewise.
              * cccp.c: Don't include gansidecl.h.
              * cexp.y: Likewise.
              * collect2.c: Likewise.
              * config/c4x/c4x.c: Likewise.
              * config/v850/v850.h: Likewise.
              * cppalloc.c: Likewise.
              * cpperror.c: Likewise.
              * cppexp.c: Likewise.
              * cppfiles.c: Likewise.
              * cpphash.c: Likewise.
              * cpplib.c: Likewise.
              * cppmain.c: Likewise.
              * cppulp.c: Likewise.
              * demangle.h: Likewise.
              * doprint.c: Likewise.
              * dyn-string.c: Likewise.
              * eh-common.h: Likewise.
              * fix-header.c: Likewise.
              * frame.c: Likewise.
              * gcc.c: Likewise.
              * gcov.c: Likewise.
              * gen-protos.c: Likewise.
              * gencheck.c: Likewise.
              * halfpic.h: Likewise.
              * hash.c: Likewise.
              * machmode.h: Likewise.
              * mbchar.c: Likewise.
              * prefix.c: Likewise.
              * protoize.c: Likewise.
              * recog.h: Likewise.
              * rtl.h: Likewise.
              * scan-decls.c: Likewise.
              * tree.h: Likewise.
              * varray.h: Likewise.
      
      From-SVN: r23558
      Kaveh R. Ghazi committed
  10. 26 Aug, 1998 1 commit
    • system.h: Include stdarg.h/varargs.h... · 789f983a
              * system.h: Include stdarg.h/varargs.h, make sure they are ordered
              correctly with regards to stdio.h.
              * calls.c: Remove stdarg.h/varargs.h.
              * cccp.c: Likewise.
              * cexp.y: Likewise.
              * combine.c: Likewise.
              * cpperror.c: Likewise.
              * cpplib.c: Likewise.
              * cpplib.h: Likewise.
              * doprint.c: Likewise.
              * emit-rtl.c: Likewise.
              * final.c: Likewise.
              * fix-header.c: Likewise.
              * gcc.c: Likewise.
              * genattr.c: Likewise.
              * genattrtab.c: Likewise.
              * gencodes.c: Likewise.
              * genconfig.c: Likewise.
              * genemit.c: Likewise.
              * genextract.c: Likewise.
              * genflags.c: Likewise.
              * genopinit.c: Likewise.
              * genoutput.c: Likewise.
              * genpeep.c: Likewise.
              * genrecog.c: Likewise.
              * mips-tfile.c: Likewise.
              * prefix.c: Likewise.
              * protoize.c: Likewise.
              * regmove.c: Likewise.
              * toplev.c: Likewise.
              * tree.c: Likewise.
              * cp/errfn.c: Remove stdarg.h/varargs.h.
              * cp/tree.c: Likewise.
      
      From-SVN: r21997
      Kaveh R. Ghazi committed
  11. 23 Jul, 1998 1 commit
  12. 07 May, 1998 1 commit
    • Handle missing vfprintf() & _doprnt() functions with linked in modules, · 76b4b31e
      plus do some general cleanup of variable argument handling.
              * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
              * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
              (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
              (AC_CHECK_FUNCS): Remove unused check for vprintf.
              * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
              (cccp.o): Depend on gansidecl.h.
              (cexp.o): Likewise.
              * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
              per the rest of gcc source.
              * cexp.y: Likewise.  Include gansidecl.h and remove all code made
              redundant.
              * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
              used when vfprintf is missing.
              * cexp.y: Likewise.
              * gcc.c: Likewise.
              * genattrtab.c: Likewise.
              * mips-tfile.c: Likewise.
              * toplev.c: Likewise.
              * vfprintf.c: New file.
              * doprint.c: Likewise.
      
      From-SVN: r19610
      Kaveh R. Ghazi committed
  13. 06 Apr, 1998 1 commit
    • More system.h cutover patches: · 944fc8ab
              * c-parse.in: Include system.h, and remove stuff now made redundant.
              * cccp.c: Likewise.
              * cexp.y: Likewise.
              * protoize.c: Likewise.  Properly check for cpp stringification.
              * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
              Depend on system.h.
              * objc/Make-lang.in (objc-parse.o): Likewise.
      
      From-SVN: r19020
      Kaveh R. Ghazi committed
  14. 04 Apr, 1998 1 commit
  15. 07 Dec, 1997 1 commit
  16. 06 Dec, 1997 1 commit
  17. 02 Nov, 1997 1 commit
  18. 11 Aug, 1997 1 commit