1. 08 Dec, 2000 1 commit
    • safe-ctype.h: New file. · f6bbde28
      include:
      	* safe-ctype.h: New file.
      libiberty:
      	* safe-ctype.c: New file.
      	* Makefile.in (CFILES): Add safe-ctype.c.
      	(REQUIRED_OFILES): Add safe-ctype.o.
      
      	* argv.c: Define ISBLANK and use it, not isspace.
      	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
      	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
      	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
      	before calling TOLOWER(c)/TOUPPER(c).
      gcc:
      	* Makefile.in (HOST_RTL): Add safe-ctype.o.
      	(safe-ctype.o): New rule.
      	* system.h: Include safe-ctype.h, not ctype.h.  No need to
      	wrap ctype macros.
      
      	* cpphash.h: Zap IStable and related macros.  Define is_* in
      	terms of safe-ctype.h macros.
      	* cppinit.c: Delete the IStable and all related code.
      
      	* tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
      	is_space arrays.  Delete initialize_char_syntax.  Change all
      	references to the above arrays to use macros instead.
      	* tradcpp.h: Define is_idchar, is_idstart, is_space, and
      	is_nvspace in terms of safe_ctype.h's macros.
      	* tradcif.y: is_idchar, is_idstart are macros not arrays.
      
      	* config/i370/i370.c, config/winnt/dirent.c,
      	config/winnt/fixinc-nt.c, config/winnt/ld.c:
      	Use uppercase ctype macros.  If we included ctype.h,
      	include safe-ctype.h instead.
      
      	* fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
      	ISLOWER(c) before calling TOUPPER(c).
      	* fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
      	* fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
      	wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
      gcc/ch:
      	* lex.c: Don't bother checking whether ISUPPER(c) before
      	calling TOLOWER(c).  Don't bother checking whether isascii(c)
      	before testing ISSPACE(c); ISSPACE(c) includes '\n'.
      gcc/f:
      	* Make-lang.in: Link f/fini with safe-ctype.o.
      	* bad.c: Don't test ISUPPER(c) || ISLOWER(c) before calling TOUPPER(c).
      	* com.c: Use TOUPPER, not ffesrc_toupper.
      	* fini.c: Don't test ISALPHA(c) before calling TOUPPER(c)/TOLOWER(c).
      	* intrin.c: Don't test IN_CTYPE_DOMAIN(c).
      	* src.c: Delete ffesrc_toupper_ and ffesrc_tolower_ and their
      	initializing code; use TOUPPER and TOLOWER instead of
      	ffesrc_toupper and ffesrc_tolower.
      	* src.h: Don't declare ffesrc_toupper_ or ffesrc_tolower_.
      	Don't define ffesrc_toupper or ffesrc_tolower.
      gcc/java:
      	* jvgenmain.c: Use ISPRINT not isascii.
      
      From-SVN: r38124
      Zack Weinberg committed
  2. 06 Dec, 2000 2 commits
    • parse.y (end_artificial_method_body): Fixed typo. · 46142b26
      2000-12-06  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * parse.y (end_artificial_method_body): Fixed typo.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00320.html)
      
      From-SVN: r38071
      Alexandre Petit-Bianco committed
    • [multiple changes] · c7303e41
      2000-10-18  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * jcf-write.c (OP1): Update `last_bc'.
              (struct jcf_block): Fixed indentation and typo in comments.  New
              field `last_bc'.
              (generate_bytecode_insns): Insert `nop' if `jsr' immediately
              follows `monitorenter'.
              * parse.y (patch_synchronized_statement): New local `tmp'. Call
              `patch_string'.
              Fixes gcj/232.
      
      2000-10-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * check-init.c (check_init): Fixed leading comment. Use
              LOCAL_FINAL_P.
              * decl.c (push_jvm_slot): Use MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
              (give_name_to_locals): Likewise.
              (lang_mark_tree): Handle FIELD_DECL. Register `am' and `wfl'
              fields in lang_decl_var.
              * java-tree.h (DECL_FUNCTION_SYNTHETIC_CTOR,
              DECL_FUNCTION_ALL_FINAL_INITIALIZED): New macros.
              (FIELD_INNER_ACCESS): Removed ugly cast, macro rewritten.
              (FIELD_INNER_ACCESS_P, DECL_FIELD_FINAL_IUD, DECL_FIELD_FINAL_LIIC,
              DECL_FIELD_FINAL_IERR, DECL_FIELD_FINAL_WFL): New macros.
              (LOCAL_FINAL): Rewritten.
              (LOCAL_FINAL_P, FINAL_VARIABLE_P, CLASS_FINAL_VARIABLE_P
              MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): New macros.
              (struct lang_decl): Fixed comments. Added `synthetic_ctor' and
              `init_final' fields.
              (struct lang_decl_var): Fixed leading comment. Added `am', `wfl',
              `final_uid', `final_liic', `final_ierr' and `local_final' fields.
              (TYPE_HAS_FINAL_VARIABLE): New macro.
              (struct lang_type): Added `afv' field.
              * parse.y (check_static_final_variable_assignment_flag): New function.
              (reset_static_final_variable_assignment_flag): Likewise.
              (check_final_variable_local_assignment_flag): Likewise.
              (reset_final_variable_local_assignment_flag): Likewise.
              (check_final_variable_indirect_assignment): Likewise.
              (check_final_variable_global_assignment_flag): Likewise.
              (add_inner_class_fields): Use LOCAL_FINAL_P.
              (register_fields): Handle local finals and final variables.
              (craft_constructor): Set DECL_FUNCTION_SYNTHETIC_CTOR.
              (declare_local_variables): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
              (source_start_java_method): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC
              on local finals.
              (java_complete_expand_methods): Loop to set
              TYPE_HAS_FINAL_VARIABLE. Call
              `reset_final_variable_local_assignment_flag' and
              `check_final_variable_local_assignment_flag' accordingly before
              and after constructor expansion. Call
              `reset_static_final_variable_assignment_flag'
              before expanding <clinit> and after call
              `check_static_final_variable_assignment_flag' if the
              current_class isn't an interface. After all methods have been
              expanded, call `check_final_variable_global_assignment_flag' and
              `check_static_final_variable_assignment_flag' if the current class
              is an interface.
              (maybe_yank_clinit): Fixed typo in comment.
              (build_outer_field_access_methods): Removed old sanity check. Use
              FIELD_INNER_ACCESS_P. Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
              Don't create access methods for finals.
              (resolve_field_access): Use `CLASS_FINAL_VARIABLE_P'.
              (java_complete_tree): Likewise. Reset DECL_FIELD_FINAL_IUD if
              existing DECL_INIT has been processed.
              (java_complete_lhs): Likewise.
              (check_final_assignment): Filter input on `lvalue''s TREE_CODE.
              Test for COMPONENT_REF to get to the FIELD_DECL. Implemented new
              logic.
              (patch_assignment): Use LOCAL_FINAL_P.
              (fold_constant_for_init): Reset DECL_FIELD_FINAL_IUD if
              DECL_INITIAL is nullified.
              Fixes gcj/163.
      
      2000-10-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * parse.y (pop_current_osb): New function.
              (array_type:): Use `dims:', changed actions
              accordingly. Suggested by Anthony Green.
              (array_creation_expression:): Used pop_current_osb.
              (cast_expression:): Likewise.
              (search_applicable_method_list): Fixed indentation.
      
      2000-10-08  Anthony Green  <green@redhat.com>
      
              * parse.y (array_type_literal): Remove production.
              (type_literals): Refer to array_type, not array_type_literal.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00317.html)
      
      From-SVN: r38070
      Alexandre Petit-Bianco committed
  3. 05 Dec, 2000 1 commit
  4. 26 Nov, 2000 1 commit
  5. 25 Nov, 2000 1 commit
    • c-common.c: Remove USE_CPPLIB conditional inclusions. · a32f2771
              * c-common.c: Remove USE_CPPLIB conditional inclusions.
              * c-common.h: Similarly.
              * c-decl.c: Similarly.
              * c-lang.c: Similarly.
              * c-lex.c: Similarly.
              * c-parse.in: Similarly.
              * c-pragma.c: Similarly.
              * c-pragma.h: Similarly.
              * gcc.c: Similarly.
              * toplev.c: Similarly.
              * cp/cp-tree.h: Similarly.
              * cp/decl2.c: Similarly.
              * cp/lang-specs.h: Similarly.
              * cp/lex.c: Similarly.
              * cp/lex.h: Similarly.
              * cp/spew.c: Similarly.
              * java/lang-options.h: Similarly.
              * objc/lang-specs.h: Similarly.
              * objc/objc-act.c: Similarly.
      
              * configure.in: Remove configure option.
              * config.in: Regenerate.
              * configure: Regenerate.
      
      From-SVN: r37742
      Neil Booth committed
  6. 24 Nov, 2000 1 commit
  7. 23 Nov, 2000 2 commits
    • parse.y (build_outer_field_access): New local `decl_ctx', use it. · 5e18f6d6
      2000-11-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse.y (build_outer_field_access): New local `decl_ctx', use
      	it. Check for field's context and current class immediate outer
      	context inheritance.
      	(outer_field_access_p): Consider fields inherited from the last
      	enclosing context.
      	(build_access_to_thisn): Stop at the last enclosing context if
      	necessary.
      	Fixes gcj/367.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01335.html)
      
      From-SVN: r37689
      Alexandre Petit-Bianco committed
    • gcc toplevel: · 9196ece5
      	* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
      	(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
      	(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
      	(splay-tree.o, hash.o): Likewise.
      	GCONFIG_H: New.
      	(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
      	(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
      	(hashtab.o): Likewise.
      	(gcov.o): Depend on $(CONFIG_H).
      	* configure.in: #include insn-codes.h in tm.h.
      
      	f:
      
      	* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).
      
      	java:
      
      	* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).
      
      	cp:
      
      	* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).
      
      From-SVN: r37680
      J"orn Rennecke committed
  8. 22 Nov, 2000 2 commits
  9. 20 Nov, 2000 3 commits
    • jv-scan.c (help): Document --complexity. · 1535cc88
      	* jv-scan.c (help): Document --complexity.
      	(options): Added --complexity.
      	(flag_complexity): New global.
      	(main): Call `report'.
      	* parse-scan.y (complexity): New global.
      	(if_then_statement, if_then_else_statement,
      	if_then_else_statement_nsi, switch_block_statement_group,
      	while_expression, do_statement, for_begin, continue_statement,
      	throw_statement, catch_clause, finally, method_invocation,
      	conditional_and_expression, conditional_or_expression,
      	conditional_expression): Update complexity.
      	(reset_report): Reset complexity.
      	(report): New function.
      
      From-SVN: r37595
      Tom Tromey committed
    • lex.c (yylex): Added STRICT_TK case. · d828bc42
      	* lex.c (yylex): Added STRICT_TK case.
      	* parse.y (STRICT_TK): Added.
      	* parse-scan.y (STRICT_TK): Added.
      	* Make-lang.in ($(srcdir)/java/keyword.h): Added missing `\' and
      	`;'.  Use 4, not 3, with -k option.  Correctly rename resulting
      	file.
      	* keyword.h: Rebuilt.
      	* keyword.gperf (strictfp): Added.
      
      From-SVN: r37594
      Tom Tromey committed
    • lex.c (yylex): Recognize floating point constants with leading 0. · 4e7842a0
      	* lex.c (yylex): Recognize floating point constants with leading
      	0.
      
      From-SVN: r37593
      Tom Tromey committed
  10. 19 Nov, 2000 1 commit
  11. 17 Nov, 2000 2 commits
    • ggc.h: Delete ggc_add_string_root and ggc_mark_string. · a8a05998
              * ggc.h: Delete ggc_add_string_root and ggc_mark_string.  Add
              digit_vector and digit_string.
              * stringpool.c (digit_vector): New.
              (ggc_alloc_string): Use digit_string.
      
              * stmt.c (digit_strings): Delete.
              (init_stmt): Do not initialize digit_strings.
              (expand_asm_operands): Use ggc.h's digit_string macro.
              * toplev.c (mark_file_stack): Delete.
              (compile_file): Don't call init_tree_codes.
              (main): No need to make the file stack a GC root.
              * tree.c (init_tree_codes): Delete.
              * tree.h (init_tree_codes): Delete.
      
              * c-lex.c: Don't include ggc.h.
              (mark_splay_tree_node, mark_splay_tree): Delete.
              (init_c_lex): No need to ggc_strdup string constant.  Don't add
              file_info_tree to GGC roots.
              (cb_enter_file, cb_rename_file): No need to ggc_strdup
              ip->nominal_fname.
      
              * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
      
              * dbxout.c (dbxout_init),
              dwarf2out.c (dwarf2out_line),
              ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
              varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
              xcoffout.c (xcoffout_source_file),
              i386.c (load_pic_register):
              Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
      
              * except.c (create_rethrow_ref),
              profile.c (init_edge_profiler),
              toplev.c (compile_file),
              varasm.c (named_section, assemble_static_space,
              assemble_trampoline_template, output_constant_def, force_const_mem),
              i386.c (load_pic_register),
              ia64.c (ia64_encode_section_info),
              rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
              rs6000_emit_prologue, rs6000_emit_epilogue),
              rs6000.md (load_toc_aix_si, load_toc_aix_di):
              Change ggc_alloc_string (var, -1) to ggc_strdup (var).
      
              * profile.c (output_func_start_profiler),
              tree.c (make_node),
              i386.c (load_pic_register): No need to ggc_strdup string constant.
      
      cp:
              * lex.c (mark_impl_file_chain): Delete.
              (init_parse): Remove call to ggc_add_string_root.  No need to
              ggc_strdup a string constant.  Do not add impl_file_chain to GC
              roots.
              (handle_pragma_implementation): No need to ggc_strdup main_filename.
      
      f:
              * lex.c (ffelex_hash_): Change ggc_alloc_string (var, -1) to
              ggc_strdup (var).
      
      java:
              * parse.y (goal): Remove call to ggc_add_string_root.
      
      From-SVN: r37522
      Zack Weinberg committed
    • stringpool.c: New file. · 520a57c8
      	* stringpool.c: New file.
      	* ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
      	(ggc_alloc_string): Now in stringpool.o.
      	* ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
      	* ggc.h: Delete prototype of ggc_add_string_root.  #define
      	ggc_add_string_root and ggc_mark_string to nothing.  Prototype
      	init_stringpool and stringpool_statistics.
      	(ggc_alloc_string): Returns a const char *.
      	* tree.c (hash_table, do_identifier_warnings): Delete.
      	(init_obstacks): Don't initialize the identifier hash table.
      	(get_identifier, maybe_get_identifier, start_identifier_warnings,
      	set_identifier_size): Now in stringpool.c.
      	* tree.h (struct tree_string): Constify pointer field.
      	(approx_sqrt): Prototype.
      
      	* Makefile.in (stringpool.o): Add rule, mention in OBJS.
      
      	* toplev.c (approx_sqrt): New function.
      	(compile_file): Call stringpool_statistics if mem_report is on.
      	(main): Call init_stringpool.
      
      	* builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
      	(process_directive), c-typeck.c (constructor_asmspec, struct
      	initializer_stack, start_init), except.c (create_rethrow_ref),
      	stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
      	(built_in_filename), varasm,c (in_named_name,
      	assemble_static_space, struct constant_descriptor, struct
      	deferred_string, struct pool_constant, force_const_mem),
      	i386.c (pic_label_name, global_offset_table_name), rs6000.c
      	(rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
      
      	* c-common.c (combine_strings): Combine strings in scratch
      	buffer, then pass to build_string.
      	* optabs.c (init_libfuncs), profile.c (init_edge_profiler,
      	output_func_start_profiler), stmt.c (init_stmt), alpha.c
      	(alpha_need_linkage), arm.c (arm_encode_call_attribute),
      	i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
      	rs6000.c (rs6000_encode_section_info): Create string in
      	scratch buffer, then pass to ggc_alloc_string.
      
      	* stmt.c (expand_asm_operands): If we must adjust the
      	constraint strings, do so by creating a new one, not by
      	modifying the old one in place.  Constify some char *s.
      	* config/pa/pa.c (hppa_encode_label): Drop unnecessary second
      	argument.  Create string in scratch buffer, then pass to
      	ggc_alloc_string.
      	* config/pa/pa-protos.h: Update prototype.
      	* config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
      	hppa_encode_label takes only one argument.
      
      	* c-parse.in (if_prefix): Find the filename and line number at
      	$-2 and $-1 respectively.
      	* diagnostic.c (error_recursion): Add missing newline, use
      	fputs, translate string.
      
      cp:
      	* lex.c (struct impl_files, internal_filename): Constify a char *.
      java:
      	* jcf-parse.c (get_constant), parse.y (do_merge_string_cste):
      	Create string in scratch buffer, then pass to build_string.
      
      From-SVN: r37514
      Zack Weinberg committed
  12. 13 Nov, 2000 1 commit
  13. 11 Nov, 2000 1 commit
  14. 10 Nov, 2000 1 commit
    • alpha.c (check_float_value): Use memcpy, not bcopy. · 4e135bdd
      	* alpha.c (check_float_value): Use memcpy, not bcopy.
      	* arm.c (output_move_double): Likewise.
      	* arm.md: Likewise.
      	* m88k.c (legitimize_operand): Likewise.
      	* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
      	* m88k.md: Likewise.
      	* mips.c (override_options): Likewise.
      	* mips.md: Likewise.
      	* romp.c (output_fpops): Likewise.
      	* rs6000.c (rs6000_override_options): Likewise.
      	* sh.md: Likewise.
      	* vax.c (check_float_value): Likewise.
      
      	* emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
      	* expmed.c (synth_mult): Likewise.
      	* final.c (add_bb_string): Likewise.
      	* genattr.c (main): Likewise.
      	* genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
      	Likewise.
      	* jump.c (thread_jumps): Likewise.
      	* prefix.c (save_string): Likewise.
      	* real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
      	* regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
      	* reload1.c (reload, eliminate_regs): Likewise.
      
      cp:
      	* decl.c (grokdeclarator, save_function_data): Use memcpy, not bcopy.
      	* lex.c (copy_lang_decl): Likewise.
      
      java:
      	* decl.c (copy_lang_decl): Use memcpy, not bcopy.
      	* jcf-parse.c (jcf_figure_file_type): Likewise.
      
      From-SVN: r37367
      Kaveh R. Ghazi committed
  15. 09 Nov, 2000 1 commit
    • calls.c (expand_call, [...]): Use memcpy () instead of bcopy (). · 2e09e75a
      	* calls.c (expand_call, emit_library_call_value_1), collect2.c
      	(scan_prog_file), config/a29k/a29k.c (print_operand),
      	config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
      	instead of bcopy ().
      	* real.h: Use memcmp () instead of bcmp ().
      	* config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
      	(split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
      	ultrasparc_sched_init, ultrasparc_sched_reorder),
      	config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
      	instead of bzero ().
      	* config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
      	instead of rindex ().
      	* configure.in: Don't check for bzero, bcmp, index or rindex.
      	* configure, config.in: Regenerate.
      	* system.h: Don't include declarations for bzero, bcmp, index or
      	rindex.
      	* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
      	bzero, bcmp, index or rindex.
      
      java:
      	* parse.y (create_new_parser_context): Use memset () instead of
      	bzero ().
      
      From-SVN: r37334
      Joseph Myers committed
  16. 08 Nov, 2000 1 commit
  17. 07 Nov, 2000 1 commit
    • alias.c [...] (init_alias_analysis, [...]): Use memset () instead of bzero (). · 961192e1
      	* alias.c (init_alias_analysis), calls.c (expand_call,
      	emit_library_call_value_1), combine.c (init_reg_last_arrays),
      	cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
      	(init_output_buffer, set_diagnostic_context), dwarf2out.c
      	(equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
      	(init_emit_once), fold-const.c (mul_double, div_and_round_double),
      	function.c (assign_parms), gcse.c (compute_can_copy,
      	alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
      	compute_hash_table, compute_set_hash_table,
      	compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
      	(global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
      	clear_units, schedule_block), integrate.c (initialize_for_inline,
      	expand_inline_function), jump.c (thread_jumps), local-alloc.c
      	(local_alloc), loop.c (combine_movables, count_loop_regs_set,
      	load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
      	regclass.c (init_reg_sets, init_reg_sets_1, regclass,
      	record_reg_classes, allocate_reg_info), reload.c
      	(get_secondary_mem, remove_address_replacements, find_reloads),
      	reload1.c (reload, set_initial_label_offsets, finish_spills,
      	reload_as_needed, choose_reload_regs_init,
      	reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
      	(sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
      	(rename_registers), stmt.c (expand_end_case), unroll.c
      	(unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
      	() instead of bzero ().
      
      ch:
      	* actions.c (check_missing_cases), typeck.c (build_chill_slice,
      	build_chill_cast): Use memset () instead of bzero ().
      
      cp:
      	* class.c (duplicate_tag_error, build_vtbl_initializer), decl.c
      	(push_binding_level), error.c (cp_tree_printer), pt.c
      	(process_partial_specialization, tsubst_template_arg_vector),
      	search.c (lookup_member): Use memset () instead of bzero ().
      
      java:
      	* expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c
      	(init_outgoing_cpool), lex.c (java_init_lex): Use memset ()
      	instead of bzero ().
      
      From-SVN: r37303
      Joseph Myers committed
  18. 06 Nov, 2000 1 commit
  19. 05 Nov, 2000 2 commits
  20. 04 Nov, 2000 3 commits
  21. 03 Nov, 2000 2 commits
  22. 30 Oct, 2000 1 commit
  23. 27 Oct, 2000 1 commit
    • configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'. · b8dad04b
      	* configure.in: If not NO_MINUS_C_MINUS_O, substitute
      	OUTPUT_OPTION with '-o $@'.  Make zlibdir, zlibinc relative to
      	top level.  Kill oldstyle_subdirs.  Do not include
      	$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
      	$outputs.  Do not run configure.lang from config.status.
      	Rearrange warning-flag logic to correspond to what the
      	makefile wants.  Put special vax stage1 options in
      	@stage1_flags@ not @stage1_warn_cflags@.  Don't do anything
      	with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
      	(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
      	switch is given, nothing otherwise.
      	* configure.lang: Delete.
      
              * Makefile.in: Expunge all traces of extra_c_objs,
              extra_cxx_objs, and extra_cpp_objs.  Set MAYBE_CPPLIB from
              @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS.  Set
              warning options via a three level scheme so that -pedantic and
              -Wtraditional are not used for non-C front ends: LOOSE_WARN,
              STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
              WARN_CFLAGS.  Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
      	Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
      	Set OUTPUT_OPTION, ZLIB, ZLIBINC.  Do not set P,
              LANG_FLAGS_TO_PASS.  Add OUTPUT_OPTION to all object-file
              generation rules.  Wrap all rules that change the current
              directory in parentheses; pmake doesn't spawn a new shell for
              each command.  Expunge all references to $(P).  When one
              command depends on another and they're run all at once, use &&
              to separate them, not ;.  Add libgcc_s$(SHLIB_EXT) to files
              deleted on make clean.  Force OUTPUT_OPTION='-o $@' in stage2
              and beyond.
      
      	* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
      	objc/Make-lang.in: Wrap all rules that change the current
      	directory in parentheses.  Expunge all references to $(P).
      	When one command depends on another and they're run all at
      	once, use && to separate them, not ;.  Add OUTPUT_OPTION to
      	all object-file generation rules.  Delete obsolete variables.
      	Move all build rules here from the corresponding Makefile.in and
      	adapt to the new environment.
      
      	* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
      	Delete.
      
      	* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
      	Delete outputs= line.
      
      From-SVN: r37088
      Zack Weinberg committed
  24. 26 Oct, 2000 1 commit
    • lex.c (java_new_lexer): Initialize new fields. · 07b5e470
      	* lex.c (java_new_lexer): Initialize new fields.  Work around
      	broken iconv() implementations.
      	(java_read_char): Swap bytes if required.  Use fallback decoder if
      	required.
      	(byteswap_init, need_byteswap): New globals.
      	(java_destroy_lexer): Only close iconv handle if it is in use.
      	* lex.h (java_lexer): New fields read_anything, byte_swap,
      	use_fallback.
      	Made out_buffer unsigned.
      
      From-SVN: r37063
      Tom Tromey committed
  25. 25 Oct, 2000 1 commit
  26. 21 Oct, 2000 2 commits
  27. 20 Oct, 2000 3 commits
    • Removed erroneous ChangeLog entry · ac758f96
      From-SVN: r36983
      Tom Tromey committed
    • jvspec.c (lang_specific_driver): Recognize -MF and -MT. · 316a06a1
      	* jvspec.c (lang_specific_driver): Recognize -MF and -MT.
      	* lang-specs.h: Added %{MA}, %{MF*}, %{MT*}.
      	* lang-options.h: Added -MA, -MT, -MF..
      	* lang.c (lang_decode_option): Recognize -MA, -MT, -MF.
      	(DEPEND_TARGET_SET): New macro.
      	(DEPEND_FILE_ALREADY_SET): Likewise.
      	(init_parse): Handle new flags.
      	* jcf.h (jcf_dependency_print_dummies): Declare.
      	* Make-lang.in (s-java): Added mkdeps.o.
      	* Makefile.in (BACKEND): Added mkdeps.o.
      	(../gcjh$(exeext)): Added mkdeps.o.
      	(../jcf-dump$(exeext)): Added mkdeps.o.
      	* jcf-depend.c: Include mkdeps.h.
      	(struct entry, dependencies, targets, MAX_OUTPUT_COLUMNS,
      	add_entry): Removed.
      	(jcf_dependency_reset): Rewrote.
      	(dependencies): New global.
      	(jcf_dependency_set_target): Rewrote.
      	(jcf_dependency_add_target): Likewise.
      	(jcf_dependency_add_file): Likewise.
      	(munge): Removed.
      	(print_ents): Removed.
      	(jcf_dependency_write): Rewrote.
      	(print_dummies): New global.
      	(jcf_dependency_print_dummies): New function
      	(jcf_dependency_write): Call deps_dummy_targets if required.
      
      From-SVN: r36981
      Tom Tromey committed
    • parse.y (find_most_specific_methods_list): Select the only non-abstract method… · cab8e2bd
      parse.y (find_most_specific_methods_list): Select the only non-abstract method even if max has been set.
      
      2000-07-18  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* parse.y (find_most_specific_methods_list): Select the only
      	non-abstract method even if max has been set.
      	Fixes gcj/285, gcj/298.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00646.html)
      
      From-SVN: r36956
      Bryce McKinlay committed