1. 21 Apr, 1999 1 commit
  2. 17 Apr, 1999 1 commit
  3. 10 Apr, 1999 1 commit
  4. 06 Apr, 1999 1 commit
    • cppinit.c (install_predefs): Delete function. · 507df939
      1999-04-06 12:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
      	* cppinit.c (install_predefs): Delete function.
      	(cpp_start_read): Don't call install_predefs.
      	(cpp_handle_option): Remove case 'u' and all refs to
      	opts->inhibit_predefs.
      	(print_help): Don't mention -undef.
      	(initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
      	match cccp.
      	* cpplib.h (struct cpp_options): Remove inhibit_predefs
      	member.
      	* cccp.c (predefs): Delete variable.
      	(main): Remove case 'u' in argument parse loop,
      	'inhibit_predefs' variable, and the code block that would
      	process CPP_PREDEFINES.
      	(initialize_builtins): Don't define __OBJC__, the driver will
      	do that.
      	* gcc.c (default_compilers): Remove -undef from all specs that
      	invoke a C preprocessor.
      	* ch/lang-specs.h: Likewise.
      	* cp/lang-specs.h: Likewise.
      	* f/lang-specs.h: Likewise.
      	* objc/lang-specs.h: Likewise.
      
      From-SVN: r26212
      Zack Weinberg committed
  5. 19 Mar, 1999 1 commit
    • Warning fixes: · 8db99db2
              * cccp.c (create_definition): Cast to U_CHAR* when assigning to one.
              * cppfiles.c (read_and_prescan): Likewise.
              Start a #define in column 0.
              * cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
              (cpp_push_buffer): Likewise for cpp_buffer*.
              (do_include): Change the type of `fbeg' and `fend' to unsigned char*.
              (do_endif): Cast to char* when assigning to one.
              (do_assert): Likewise.
              (do_unassert): Likewise.
              (cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
              Don't do unnecessary cast to char* anymore.
              * genrecog.c (make_insn_sequence): Cast to char** when assigning
              to one.  Cast the first argument of bzero to PTR.
              * loop.c (strength_reduce): Remove unused variable `note'.
              * reload1.c (new_insn_chain): Cast to struct insn_chain* when
              assigning to one.
              * rtl.c (copy_rtx): Use memcpy instead of bcopy.
      
      From-SVN: r25860
      Kaveh R. Ghazi committed
  6. 18 Mar, 1999 1 commit
    • Warning fixes: · 735396d9
              * cccp.c (default_include): Initialize structure memebers.
              (pass_thru_directive): Change the type of 'keyword_length' to int.
              (main): Cast `bindtextdomain' and `textdomain' to (void).
              * collect2.c (main): Likewise.
              * cppmain.c (main): Likewise.
              * gcc.c (main): Likewise.
              * gcov.c (main): Likewise.
              * protoize.c (main): Likewise.
              * toplev.c (main): Likewise.
      
      From-SVN: r25839
      Kaveh R. Ghazi committed
  7. 11 Mar, 1999 1 commit
    • cppfiles.c (INO_T_EQ): Handle UWIN. · b27d2bd5
              * cppfiles.c (INO_T_EQ): Handle UWIN.
              * c-common.c (decl_attributes): Flag unrecognized attribute
              functions as warnings instead of as errors.
              Support for i386-pc-uwin.
              * i386/uwin.h: New file.
              * i386/xm-uwin.h: New file.
              * i386/t-uwin: New file.
              * i386/uwin.asm: New file.
              * configure.in (i[3456]86-*-uwin*): Define.
              Add Workaround for vfork bug when hosted on uwin.
              * configure: Regenerate.
              * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
              (absolute_filename): UWIN uses POSIX pathnames only.
              * libgcc2.c (getpagesize): Do not define for UWIN.
              (mprotect): Likewise.
              * protoize.c (dirent.h): Conditionally include.
              (fputc): Prototype only if it's not a macro.
      
      From-SVN: r25696
      Mumit Khan committed
  8. 02 Mar, 1999 1 commit
  9. 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
  10. 30 Jan, 1999 1 commit
  11. 29 Jan, 1999 1 commit
    • cccp.c (eprint_string): Constify a char*. · aa1b0f8c
              * cccp.c (eprint_string): Constify a char*.
              (notice): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
              (vnotice): Constify a char*.
              (error): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
              (verror): Constify a char*.
              (warning): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
              (vwarning): Constify a char*.
              (error_with_line): Likewise.  Use PVPROTO not VPROTO, add
              ATTRIBUTE_PRINTF_2.
              (verror_with_line): Constify a char*.
              (vwarning_with_line): Likewise.
              (warning_with_line): Likewise.  Use PVPROTO not VPROTO, add
              ATTRIBUTE_PRINTF_2.
              (pedwarn): Constify a char*.  Use PVPROTO not VPROTO, add
              ATTRIBUTE_PRINTF_1.
              (pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2.
              (pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4.
              Also correct typo in parameter name declaration.
              (make_assertion): Constify a char*.
              (quote_string_for_make): Likewise.
              (deps_output): Likewise.
              (fatal): Likewise.  Use PVPROTO not VPROTO, add
              ATTRIBUTE_PRINTF_1.  Use ATTRIBUTE_NORETURN not an explicit
              "__attribute__ ((noreturn))".
              (fancy_abort): Likewise for ATTRIBUTE_NORETURN.
              (pfatal_with_name): Likewise.
              (pipe_closed): Likewise.
              (memory_full): Likewise.
      
      From-SVN: r24902
      Kaveh R. Ghazi committed
  12. 27 Jan, 1999 1 commit
  13. 22 Jan, 1999 1 commit
  14. 21 Jan, 1999 1 commit
  15. 16 Jan, 1999 1 commit
  16. 13 Jan, 1999 1 commit
    • cccp.c (xstrdup): Renamed from `savestring'. · efd59a33
              * cccp.c (xstrdup): Renamed from `savestring'.  All callers changed.
              Remove prototype which we get from libiberty.h.
              * collect2.c (xstrdup): Likewise.
              * genextract.c (xstrdup): Likewise for `copystr'.
              (mybzero): Remove it and use `memset' instead.
              * genoutput.c (mybcopy, mybzero): Remove these.  All callers changed
              to use `memcpy' and `memset' instead.
              * genrecog.c (xstrdup): Renamed from `copystr'.  All callers
              changed.  Remove prototype.
              (mybcopy, mybzero): Remove these and use memcpy/memset.
      
      From-SVN: r24650
      Kaveh R. Ghazi committed
  17. 06 Jan, 1999 1 commit
  18. 05 Jan, 1999 1 commit
    • Makefile.in (gcc.o, [...]): Depend on prefix.h. · 460ee112
              * Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
              * cccp.c: Include prefix.h, don't prototype prefix.c functions.
              (new_include_prefix): Constify char* parameters.
              * cppfiles.c (read_name_map): Likewise.
              (append_include_chain): Likewise.  Also, use a writable char* copy
              of parameter `dir' which we then modify, rather than using the
              parameter itself to store the new writable string.
              (remap_filename): Constify some variables.  Also, use a writable
              char* to store an allocated string which we will be modifying.
              * cpplib.c: Include prefix.h, don't prototype prefix.c functions.
              (cpp_start_read): Constify variable `str'.
              * cpplib.h (append_include_chain): Constify a char* parameter.
              * gcc.c Include prefix.h, don't prototype prefix.c functions.
              (add_prefix, save_string): Constify char* parameters.
              (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
              * prefix.c: Include prefix.h.
              (get_key_value, translate_name, save_string, update_path,
              set_std_prefix): Constify various char* parameters and variables.
              (save_string): Use xmalloc, not malloc.
              (translate_name): Use a writable temporary variable to create and
              modify a string before setting it to a const char*.
              * prefix.h: New file to prototype functions exported from prefix.c.
      
      From-SVN: r24498
      Kaveh R. Ghazi committed
  19. 16 Dec, 1998 1 commit
  20. 11 Dec, 1998 1 commit
  21. 09 Dec, 1998 1 commit
  22. 08 Dec, 1998 1 commit
  23. 07 Dec, 1998 1 commit
    • cccp.c (ignore_escape_flag): Add support for \ as `natural' characters in file… · c25d8793
      cccp.c (ignore_escape_flag): Add support for \ as `natural' characters in file names in #line to be...
      
      Mon Dec  7 17:55:06 1998  Mike Stump  <mrs@wrs.com>
      	* cccp.c (ignore_escape_flag): Add support for \ as `natural'
      	characters in file names in #line to be consistent with #include
      	handling.  We support escape prcessing in the # 1 "..." version of
      	the command.  See also support in cp/lex.c.
      	(handle_directive): Likewise.
      	(do_line): Likewise.
      
      From-SVN: r24156
      Mike Stump committed
  24. 01 Dec, 1998 1 commit
    • c-common.c (declare_function_name): Declare predefinied variable `__func__'. · 6f4d7222
              * c-common.c (declare_function_name): Declare predefinied variable
              `__func__'.
              * c-decl.c (flag_isoc9x): Set to 1 by default.
              (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
              (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
              * c-parse.in: Allow constructors in ISO C 9x.
              Rewrite designator list handling.
              Allow [*] parameters.
              Don't warn about comma at end of enum definition for ISO C 9x.
              * cccp.c (c9x): New variable.
              (rest_extension): New variable.
              (print_help): Document new -std= option.
              (main): Recognize -std= option.  Set c9x appropriately.
              (create_definition): Recognize ISO C 9x vararg macros.
              * gcc.c (default_compilers): Adjust specs for -std options.
              (option_map): Add --std.
              (display_help): Document -std.
              * toplev.c (documented_lang_options): Add -std and remove
              -flang-isoc9x.
              * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
              or REAL_VALUE_HTOF based on base of the constants.
              * fold-const.c (real_hex_to_f): New function.  Replacement function
              for hex FP conversion if REAL_ARITHMETIC is not defined.
              * real.c (asctoeg): Add handling of hex FP constants.
              * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
              real_hex_to_f.
      
      Co-Authored-By: Richard Henderson <rth@cygnus.com>
      Co-Authored-By: Stephen L Moshier <moshier@world.std.com>
      
      From-SVN: r24049
      Ulrich Drepper committed
  25. 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
  26. 23 Nov, 1998 1 commit
  27. 12 Nov, 1998 1 commit
  28. 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
  29. 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
  30. 28 Oct, 1998 1 commit
    • Makefile.in (cc1): Put C_OBJS, and thence @extra_c_objs@ last. · 19283265
              * Makefile.in (cc1): Put C_OBJS, and thence @extra_c_objs@ last.
              (LIBCPP_OBJS): New.  Add cppulp.o.
              (cppmain, fix-header): Depend on and use libcpp.a.
              * configure.in (extra_c_objs, extra_cxx_objs): Use libcpp.a instead
              of the individual object files.
              * objc/Make-lang.in (cc1obj): Put OBJC_OBJS, and thence @extra_c_objs@,
              last.
              * cccp.c (user_label_prefix): New.
              (main): Set it off -f*leading-underscore.
              (special_symbol): Use it.
              * cpplib.c (special_symbol): Likewise.
              (cpp_handle_option): Handle -f*leading-underscore.
              * cppulp.c: New file.
              * output.h (user_label_prefix): Declare it.
              * dwarf2out.c (ASM_NAME_TO_STRING): Prepend user_label_prefix.
              * toplev.c (f_options, main): Handle -f*leading-underscore.
              * defaults.h (ASM_OUTPUT_LABELREF): Use asm_fprintf instead of
              referencing USER_LABEL_PREFIX directly.
              * config/nextstep.h (ASM_OUTPUT_LABELREF): Likewise.
              * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
              * final.c (asm_fprintf): Use user_label_prefix instead.
              * arm/thumb.c (thumb_print_operand): Likewise.
              * gcc.c (default_compilers): Pass -f*leading-underscore on to
              cpp wherever appropriate.
      
      From-SVN: r23415
      Richard Henderson committed
  31. 16 Oct, 1998 1 commit
  32. 13 Oct, 1998 1 commit
    • Warning fixes: · c84e2712
      	* Makefile.in (gencheck.o): Depend on gansidecl.h.
      	* c-common.c (print_char_table): Add missing initializers.
      	(scan_char_table): Likewise.
      	(time_char_table): Likewise.
      	* c-decl.c (c_decode_option): Mark parameter `argc' with
      	ATTRIBUTE_UNUSED.
      	(declare_parm_level): Mark parameter `definition_flag' with
      	ATTRIBUTE_UNUSED.
      	* c-lex.c (readescape): Use `(unsigned)1' in shift.
      	(yylex): Likewise.  Cast `sizeof' to an (int) when comparing
      	against one.
      	* calls.c (store_one_arg): Remove unused parameter `fndecl'.  All
      	callers changed.
      	(emit_call_1): Mark parameters `fndecl' and `funtype' with
      	ATTRIBUTE_UNUSED.
      	(expand_call): Cast result of MIN() to (unsigned int) when
      	comparing against an unsigned value.
      	* cccp.c (pcfinclude): Remove unused parameter `limit'.  All
      	callers changed.
      	(make_definition): Remove unused parameter `op'.  All callers
      	changed.
      	(create_definition): Cast REST_EXTENSION_LENGTH to (long) when
      	comparing against the result of pointer arithmetic.
      	* config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Cast to (unsigned)
      	when comparing against one.
      	* dwarf2out.c (dwarf2out_frame_debug): Cast REGNO() and
       	HARD_FRAME_POINTER_REGNUM to (unsigned) when comparing against
       	one.
      	(output_die): Move variable `i' into the scope in which it is
      	used.  Change its type to `unsigned'.
      	(output_die): Cast the result of `strlen' to (int) when passing it
      	to ASM_OUTPUT_ASCII().
      	(output_pubnames): Likewise.
      	(output_line_info): Likewise.
      	* emit-rtl.c (global_rtl): Add missing initializers.
      	* explow.c (promote_mode): Mark parameter `for_call' with
      	ATTRIBUTE_UNUSED.
      	* expmed.c (expand_shift): Cast the result of GET_MODE_BITSIZE to
       	`unsigned HOST_WIDE_INT' when comparing against one.
      	(synth_mult): Change type of variable `cost' to int.
      	(emit_store_flag): Use `(unsigned HOST_WIDE_INT) 1' in shift.
      	* expr.c (copy_blkmode_from_reg): Cast BITS_PER_WORD to (unsigned)
      	when comparing against one.
      	(get_inner_reference): Change variable `alignment' to unsigned.
      	(expand_expr): Cast the result of GET_MODE_ALIGNMENT to (unsigned
      	int) when comparing against one.
      	(expand_builtin_setjmp): Change type of variable `i' to size_t.
      	* fold-const.c (div_and_round_double): Cast BASE to
      	(HOST_WIDE_INT) when comparing against one.
      	* gencheck.c: Include gansidecl.h.
      	(main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
      	* optabs.c (gen_cond_trap): Mark parameters `code', `op2' and
      	`tcode' with ATTRIBUTE_UNUSED.
      	* real.c (edivm): Cast constant value to (unsigned long) in
      	expression compared against an unsigned value.
      	* stmt.c (expand_return): Cast BITS_PER_WORD to (unsigned) when
      	comparing against one.
      	(expand_end_case): Cast CASE_VALUES_THRESHOLD to (unsigned int)
      	when comparing against one.
      	* stor-layout.c (mode_for_size): Cast MAX_FIXED_MODE_SIZE to
      	(unsigned int) when comparing against one.  Likewise for
      	GET_MODE_BITSIZE.
      	(smallest_mode_for_size): Likewise.
      	(save_storage_status): Mark parameter `p' with ATTRIBUTE_UNUSED.
      	(restore_storage_status): Likewise.
      	* toplev.c (debug_args): Add missing initializer.
      	(f_options): Spelling correction.  Add missing initializers.
      	(documented_lang_options): Likewise.
      	(debug_end_source_file): Mark parameter `lineno' with
      	ATTRIBUTE_UNUSED.
      	* tree.c (valid_machine_attribute): Mark parameters `attr_args',
      	`decl' and `type' with ATTRIBUTE_UNUSED.
      	* varasm.c (decode_reg_name): Cast `sizeof' expression to (int)
      	when comparing against one.
      	(assemble_variable): Mark parameter `top_level' with
      	ATTRIBUTE_UNUSED.
      	(assemble_external_libcall): Mark parameter `fun' with
      	ATTRIBUTE_UNUSED.
      	(output_constant_pool): Mark parameters `fnname' and `fndecl' with
      	ATTRIBUTE_UNUSED.
      
      From-SVN: r23054
      Kaveh R. Ghazi committed
  33. 25 Sep, 1998 1 commit
  34. 21 Sep, 1998 1 commit
  35. 16 Sep, 1998 1 commit
  36. 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
  37. 21 Jul, 1998 1 commit
  38. 20 Jul, 1998 1 commit
    • configure.in (enable_c_mbchar): New configure option. · 56f48ce9
      Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
      	* configure.in (enable_c_mbchar): New configure option.
      	(extra_cpp_objs): Always available now.
      	* cexp.y (mbchar.h): #include it.
      	(yylex): Handle Multibyte characters in character literals.
      	* cccp.c (mbchar.h): #include it.
      	(main): Set character set based on LANG environment variable.
      	(rescan): Handle multibyte characters in comments.
      	(skip_if_group): See above.
      	(validate_else): See above.
      	(skip_to_end_of_comment): See above.
      	(macarg1): See above.
      	(discard_comments): See above.
      	(rescan): Handle multibyte characters in string and character literals.
      	(collect_expansion): See above.
      	(skip_quoted_string): See above.
      	(macroexpand): See above.
      	(macarg1): See above.
      	(discard_comments): See above.
      	(change_newlines): See above.
      	* c-lex.c (mbchar.h): #include it.
      	(GET_ENVIRONMENT): New macro.
      	(init_lex): Set character set based on LANG environment variable.
      	(yylex): Handle multibyte characters in character literals.
      	(yylex): Handle multibyte characters in string literals.
      	* Makefile.in (mbchar.o): New target.
      	(cccp$(exeext)): @extra_cpp_objs@ is always available.
      	(cppmain$(exeext)): @extra_cpp_objs@ is always available.
      	* mbchar.[ch]: New files for multibyte character handling.
      
      From-SVN: r21303
      Dave Brolley committed
  39. 13 Jul, 1998 1 commit
  40. 28 Jun, 1998 1 commit
    • Consolidate strerror handling, as well as getcwd/getwd. · 6cd5dccd
              * configure.in (GCC_NEED_DECLARATIONS): Add strerror, getcwd and
              getwd.
              * acconfig.m4: Add stubs for NEED_DECLARATION_STRERROR,
              NEED_DECLARATION_GETCWD and NEED_DECLARATION_GETWD.
              * cccp.c: Remove strerror()/sys_nerr/sys_errlist decls.
              (my_strerror): Add prototype and make it static.
              * collect2.c: Likewise.
              * cpplib.c: Likewise.
              * gcc.c: Likewise, but keep `my_strerror' extern.
              * protoize.c: Likewise.
              * pexecute.c (my_strerror): Add argument to prototype.
              * system.h: Add prototypes for getcwd, getwd and strerror.  Add
              extern decls for sys_nerr and sys_errlist.  Make abort decl
              explicitly extern.
              * getpwd.c: Remove decls for getwd and getcwd.
      
      From-SVN: r20779
      Kaveh R. Ghazi committed