1. 16 Dec, 2002 1 commit
  2. 16 Nov, 2002 1 commit
  3. 11 Sep, 2002 1 commit
    • Makefile.in: Remove all references to s-under and underscore.c. · 3fd9d606
      gcc:
      	* Makefile.in: Remove all references to s-under and underscore.c.
      	* collect2.c, tlink.c: Change all uses of prepends_underscore
      	to look directly at USER_LABEL_PREFIX.
      
      gcc/cp:
      	* Make-lang.in: Build cp/cxxfilt.o from $(srcdir)/cp/cxxfilt.c,
      	and c++filt from cxxfilt.o + version.o + $(LIBDEPS).
      	* cxxfilt.c: New file: split from libiberty/cplus-dem.c, with
      	minor adjustments (use version_string, eliminate yet another
      	duplicate of xmalloc)
      
      libiberty:
      	* cplus-dem.c: Code code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
      	* testsuite/Makefile.in: Adjust for test-demangle.
      	* testsuite/regress-demangle: Deleted.
      	* testsuite/test-demangle.c: New file.
      	* testsuite/demangle-expected: Change \$ to $ throughout, now that
      	this file is not being read by a shell script.
      
      From-SVN: r57037
      Zack Weinberg committed
  4. 04 Aug, 2002 1 commit
    • Index: ChangeLog · 6d9f628e
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
      	* collect2.h (permanent_obstack): Delete declaration.
      	* collect2.c (permanent_obstack): Delete definition.
      	(main): Don't initialise permanent_obstack.  Use xstrdup instead.
      	* expr.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* function.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* integrate.c: Don't include obstack.h.
      	(function_maybepermanent_obstack): Delete declaration.
      	* print-tree.c (debug_tree): Use x*alloc not permalloc.
      	* sdbout.c (gen_fake_label): Use x*alloc not permalloc.
      	* tlink.c (pfgets): Use xstrdup not permanent_obstack.
      	* toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
      	* tree.h: Rename init_obstacks to init_ttree.  Remove declarations
      	of permalloc, expralloc, perm_calloc.
      	* tree.c (permanent_obstack): Delete definition.
      	(init_ttree): Rename from init_obstacks.
      	(permalloc): Delete.
      	(perm_calloc): Delete.
      	(dump_tree_statistics): Don't print information about
      	permanent_obstack.
      	* varasm.c (assemble_start_function): Use xstrdup instead of
      	permalloc/strcpy.
      	(assemble_variable): Likewise.
      	* config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
      	permalloc.
      	(unicosmk_add_extern): Likewise.
      	* config/c4x/c4x.c (c4x_external_ref): Likewise.
      	(c4x_global_label): Likewise.
      	* config/frv/frv.c (frv_encode_section_info): Likewise.
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_record_exported_symbol): Likewise.
      	* config/mips/mips.c (mips_output_external): Likewise.
      	(mips_output_external_libcall): Likewise.
      	* config/pa/pa.c: (permanent_obstack): Delete declaration.
      	(output_call): Use ggc_strdup instead of allocating on
      	permanent_obstack.
      	* config/romp/romp.c: Include ggc.h.
      	(get_symref): Don't declare permanent_obstack, use ggc_strdup
      	intead of permanent_obstack.
      	* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
      	instead of permalloc
      	* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/vax/vax.c (vms_check_external): Use xmalloc instead of
      	permalloc.
      
      Index: cp/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* cvt.c (ocp_convert): Delete obsolete code.
      	* parse.y (permanent_obstack): Delete declaration.
      	* pt.c (permanent_obstack): Delete declaration.
      	* repo.c (permanent_obstack): Delete declaration.
      	(open_repo_file): Use xmalloc instead of permanent_obstack.
      	(init_repo): Use xstrdup instead of permanent_obstack.
      
      Index: java/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* class.c: (permanent_obstack): Delete declaration.
      	* constants.c: (permanent_obstack): Delete declaration.
      	* except.c: (permanent_obstack): Delete declaration.
      	* expr.c: (permanent_obstack): Delete declaration.
      	* jcf-parse.c: (permanent_obstack): Delete declaration.
      	(saveable_obstack): Delete declaration.
      	* parse.h: (permanent_obstack): Delete declaration.
      	* typeck.c: (permanent_obstack): Delete declaration.
      
      From-SVN: r56035
      Geoffrey Keating committed
  5. 23 Jul, 2002 1 commit
    • defaults.h (obstack_chunk_alloc, [...]): Default definition. · 4fa31c2a
      	* defaults.h (obstack_chunk_alloc, obstack_chunk_free):
      	Default definition.
      	* gcse.c: Don't define obstack_chunk_free.
      	* collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
      	flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
      	integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
      	reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
      	Don't define obstack macros.
      cp:
      	* class.c, method.c, pt.c, search.c: Similarly.
      
      From-SVN: r55665
      Neil Booth committed
  6. 04 Jun, 2002 1 commit
  7. 31 May, 2002 1 commit
    • target.h: Fix formatting. · 41077ce4
      	* target.h: Fix formatting.
      	* timevar.h: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* toplev.h: Likewise.
      	* tree.c: Likewise.
      	* tree-dump.h: Likewise.
      	* tree.h: Likewise.
      	* tree-inline.h: Likewise.
      	* unroll.c: Likewise.
      	* unwind-dw2.c: Likewise.
      	* unwind-dw2-fde.c: Likewise.
      	* unwind-dw2-fde-glibc.c: Likewise.
      	* unwind-dw2-fde.h: Likewise.
      	* unwind.h: Likewise.
      	* unwind-sjlj.c: Likewise.
      	* varasm.c: Likewise.
      	* varray.h: Likewise.
      	* vmsdbg.h: Likewise.
      	* vmsdbgout.c: Likewise.
      	* xcoffout.h: Likewise.
      
      From-SVN: r54123
      Kazu Hirata committed
  8. 18 May, 2002 1 commit
  9. 09 Nov, 2001 1 commit
  10. 12 Sep, 2001 1 commit
    • c-common.c (c_tree_code_name): Const-ification. · 27c38fbe
      	* c-common.c (c_tree_code_name): Const-ification.
      	* c-decl.c (c_decode_option): Likewise.
      	* c-typeck.c (warn_for_assignment): Likewise.
      	* collect2.c (libexts, is_ctor_dtor, main, ignore_library):
      	Likewise.
      	* cppinit.c (output_deps): Likewise.
      	* dependence.c (dependence_string, direction_string): Likewise.
      	* dwarf2out.c (output_ranges): Likewise.
      	* fixinc/fixfixes.c (emit_gnu_type): Likewise.
      	* fixinc/gnu-regex.c (re_error_msgid): Likewise.
      	* gcc.c (standard_exec_prefix, standard_exec_prefix_1,
      	standard_startfile_prefix, standard_startfile_prefix_1,
      	standard_startfile_prefix_2, tooldir_base_prefix,
      	standard_bindir_prefix, find_a_file): Likewise.
      	* genattrtab.c (make_length_attrs): Likewise.
      	* gencheck.c (tree_codes): Likewise.
      	* genemit.c (gen_split): Likewise.
      	* genrecog.c (special_mode_pred_table): Likewise.
      	* graph.c (graph_ext): Likewise.
      	* protoize (default_include): Likewise.
      	* reload.c (reload_when_needed_name): Likewise.
      	* sched-vis.c (visualize_stall_cycles): Likewise.
      	* tlink.c (recompile_files): Likewise.
      	* toplev.c (decode_g_option): Likewise.
      	* tradcpp.c (output_deps): Likewise.
      	* varasm.c (decode_reg_name): Likewise.
      
      	* arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
      	Const-ification.
      	* arm.md: Likewise.
      	* avr.c (avr_regnames, encode_section_info): Likewise.
      	* c4x.c (float_reg_names): Likewise.
      	* darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
      	* elfos.h (const_section): Likewise.
      	* i386.c (ix86_comp_type_attributes): Likewise.
      	* i386/win32.h (STRIP_NAME_ENCODING): Likewise.
      	* ia64/aix.h (UNIQUE_SECTION): Likewise.
      	* ia64.c (type_names): Likewise.
      	* m68hc11.c (reg_class_names): Likewise.
      	* m88k.c (m_options): Likewise.
      	* mips.c (mips_output_conditional_branch, mips_unique_section):
      	Likewise.
      	* rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
      	* sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
      	ultra_code_names): Likewise.
      	* sparc.h (OVERRIDE_OPTIONS): Likewise.
      
      From-SVN: r45567
      Kaveh R. Ghazi committed
  11. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  12. 14 Aug, 2001 1 commit
  13. 01 Jul, 2001 1 commit
  14. 04 May, 2001 1 commit
  15. 02 Mar, 2001 1 commit
    • xm-lynx.h, [...]: Do not define TRUE or FALSE. · d6edb99e
      	* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
      	config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
      	config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
      	config/clipper/xm-clix.h, config/convex/xm-convex.h,
      	config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
      	config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
      	config/h8300/xm-h8300.h, config/i370/xm-i370.h,
      	config/i370/xm-linux.h, config/i370/xm-mvs.h,
      	config/i370/xm-oe.h, config/i386/xm-aix.h,
      	config/i386/xm-i386.h, config/i386/xm-osf.h,
      	config/i860/xm-i860.h, config/i960/xm-i960.h,
      	config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
      	config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
      	config/mcore/xm-mcore.h, config/mips/xm-mips.h,
      	config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
      	config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
      	config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
      	config/pa/xm-pahpux.h, config/pa/xm-papro.h,
      	config/pj/xm-pj.h, config/romp/xm-romp.h,
      	config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
      	config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
      	config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
      	config/v850/xm-v850.h, config/vax/xm-vax.h,
      	config/vax/xm-vms.h, config/we32k/xm-we32k.h:
      	Do not define TRUE or FALSE.
      
      	* config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
      	empty by above change.
      	* config.gcc: Remove references to these files.
      
      	* configure.in: Detect stdbool.h.
      	* configure, config.in: Regenerate.
      	* system.h: Include stddef.h here if available.  Set
      	HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.  Then
      	set up a sensible boolean type at the very end.
      
      	* combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
      	f/com.c, config/mcore/mcore.c:
      	Rename variables named 'true' and/or 'false'.
      
      	* hash.h: Delete 'boolean' typedef and related #undefs.
      	* f/proj.h: Delete 'bool' type.  Don't include stddef.h here.
      
      	* function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c,
      	java/class.c, java/decl.c, java/java-tree.h:
      	Replace all uses of 'boolean' with 'bool'.
      
      From-SVN: r40176
      Zack Weinberg committed
  16. 02 Nov, 2000 1 commit
    • * collect2.c (main, write_c_file_stat), gcc.c (translate_options, · 9473c522
      	process_command, main), gcov.c (open_files, output_data), tlink.c
      	(frob_extension, scan_linker_output), toplev.c
      	(file_name_nondirectory): Use strchr () and strrchr () instead of
      	index () and rindex ().
      
      cp:
      	* dump.c (dequeue_and_dump), lex.c (interface_strcmp), method.c
      	(build_overload_value), repo.c (open_repo_file), xref.c
      	(open_xref_file): Use strchr () and strrchr () instead of index ()
      	and rindex ().
      
      f:
      	* com.c (open_include_file, ffecom_open_include_): Use strchr ()
      	and strrchr () instead of index () and rindex ().
      
      From-SVN: r37206
      Joseph Myers committed
  17. 18 Jul, 2000 1 commit
  18. 29 Jun, 2000 1 commit
  19. 28 Jun, 2000 1 commit
    • c-decl.c: Mark strings for translation. · 5e4adfba
      2000-06-28  Philipp Thomas  <pthomas@suse.de>
      
      	* c-decl.c : Mark strings for translation.
      	(parmlist_tags_warning): Use distinct messages instead
      	of conditional expressions.
      	* diagnostic.c (v_message_with_decl): Mark string for translation.
      	* gcc.c: Mark messages for translation.
      	(display_help): Combine messages into one string where necessary.
      	* mips-tfile.c: Add intl.h. Mark messages for translation.
      	* rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
      	messages for translation.
      	* timevar.c: Mark messages for translation.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      
      From-SVN: r34773
      Philipp Thomas committed
  20. 06 Apr, 2000 1 commit
  21. 15 Dec, 1999 1 commit
  22. 17 Sep, 1999 2 commits
  23. 03 Sep, 1999 2 commits
    • Makefile.in (tlink.o): Don't depend on toplev.h. · d4058195
      	* Makefile.in (tlink.o): Don't depend on toplev.h.
      
      	* collect2.c (c_file, o_file, export_file, import_file, ldout,
      	output_file, nm_file_name, ldd_file_name, strip_file_name,
      	c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
      	add_prefix, prefix_from_env, prefix_from_string, do_wait,
      	fork_execute, maybe_unlink, add_to_list,
      	extract_init_priority, write_list, dump_list,
      	dump_prefix_list, write_list_with_asm, write_c_file,
      	write_c_file_stat, write_c_file_glob, scan_prog_file,
      	scan_libraries, is_in_list, resolve_lib_name, use_import_list,
      	ignore_library, extract_string, notice, dump_file, target_machine,
      	collect_wait, collect_execute, libname, locatelib, aix_std_libs,
      	read_file, print_load_command): Constify a char*.
      	(fdopen, error, fatal, fatal_perror): Don't prototype.
      	(my_strerror): Remove.  All callers use xstrerror instead.
      	(xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
      	(main): Add prototype.  Constify lots of char* ptrs.  Change calls
      	to xcalloc/strcpy/strcat/...  to one call to concat.
      	(main, scan_prog_file, scan_libraries): Use an intermediate
      	`const char **' to build an argv array.
      	(mapfile, libselect, libcompare, locatelib): Add prototypes.
      
      	* collect2.h (collect_execute, collect_wait, dump_file,
      	file_exists): Constify a char*.
      	(ldout, c_file_name, temporary_obstack, permanent_obstack,
      	temporary_firstobj, vflag, debug): Add extern declarations.
      	(fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
      
      	* tlink.c: Don't include toplev.h.
      	(vflag, debug, ldout, c_file_name, temporary_obstack,
      	permanent_obstack, temporary_firstobj): Don't declare.
      	(tlink_execute, frob_extension, symbol_hash_lookup,
      	file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
      	recompile_files, read_repo_files, demangle_new_symbols,
      	scan_linker_output): Constify a char*.
      	(symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
      	do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
      
      From-SVN: r29087
      Kaveh R. Ghazi committed
    • tlink.c (scan_linker_output): Skip the initial underscore in a mangled name if appropriate. · 9c5b50b3
      	* tlink.c (scan_linker_output): Skip the initial underscore in
      	a mangled name if appropriate.
      
      From-SVN: r29083
      Jason Merrill committed
  24. 04 Aug, 1999 1 commit
  25. 25 Mar, 1999 1 commit
  26. 20 Mar, 1999 1 commit
    • Warning fixes: · 54ea1de9
              * c-lex.c (yylex): Remove unused variable `bytes'.
              * flow.c (print_rtl_with_bb): Cast the return value of alloca.
              * function.c (assign_parms): Wrap variable `varargs_setup' in
              macro SETUP_INCOMING_VARARGS.
              (thread_prologue_and_epilogue_insns): Mark parameter `f' with
              ATTRIBUTE_UNUSED.
              * local-alloc.c (no_equiv): Likewise for parameter `store'.
              * sched.c (schedule_insns): Remove unused variables `insn' and `next'.
              * tlink.c (symbol_hash_newfunc, symbol_hash_lookup,
              file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc,
              demangled_hash_lookup, symbol_push, symbol_pop, file_push,
              file_pop, tlink_init, tlink_execute, frob_extension,
              obstack_fgets, tfgets, pfgets, freadsym, read_repo_file,
              maybe_tweak, recompile_files, read_repo_files,
              demangle_new_symbols, scan_linker_output): Add static prototype.
              (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc):
              Make the third argument a `hash_table_key'.
              * toplev.c (debug_start_source_file): Mark parameter `filename'
              with ATTRIBUTE_UNUSED.
      
      From-SVN: r25871
      Kaveh R. Ghazi committed
  27. 26 Jan, 1999 1 commit
  28. 11 Jan, 1999 1 commit
  29. 10 Dec, 1998 1 commit
  30. 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
  31. 17 Nov, 1998 1 commit
    • hash.h (hash_table_key): New type. · a87ec9e6
      	* hash.h (hash_table_key): New type.
      	(hash_entry): Change `string' field to generic `key'.
      	(hash_table): Add `comp' and `hash' functions.
      	(hash_table_init): Take them as input.
      	(hash_table_init_n): Likewise.
      	(hash_lookup): Modify for generic keys.
      	(hash_newfunc): Likewise.
      	(hash_traverse): Likewise.
      	(string_hash): New function.
      	(string_compare): Likewise.
      	(string_copy): Likewise.
      	* hash.c (hash_table_init_n): Modify for generic keys.
      	(hash_table_init): Likewise.
      	(hash_lookup): Likewise.
      	(hash_newfunc): Likewise.
      	(hash_traverse): Likewise.
      	(string_hash): Split out from hash_lookup.
      	(string_compare): New function.
      	(string_copy): Split out from hash_lookup.
      	* tlink.c (symbol_hash_newfunc): Modify for new interfaces to hash
      	tables.
      	(symbol_hash_lookup): Likewise.
      	(file_hash_newfunc): Likewise.
      	(file_hash_lookup): Likewise.
      	(demangled_hash_newfunc): Likewise.
      	(demangled_hash_lookup): Likewise.
      	(tlink_int): Likewise.
      	(read_repo_file): Likewise.
      	(recompile_files): Likewise.
      	(demangle_new_symbols): Likewise.
      	(scan_linker_output): Likewise.
      
      From-SVN: r23683
      Mark Mitchell committed
  32. 17 Oct, 1998 1 commit
    • Warning fixes: · 79c9824e
              * Makefile.in (flow.o): Depend on recog.h.
              * cpplib.h (directive_table): Add missing initializiers.
              (finclude): Change type of variable `bsize' to size_t.
              * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.
              * dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE.
              * fix-header.c (lookup_std_proto): Cast the result of `strlen' to
              `int' when comparing against one.
              (cpp_file_line_for_message): Mark parameter `pfile' with
              ATTRIBUTE_UNUSED.
              (cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
              * flow.c: Include recog.h.
              (sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR).
              * function.c (thread_prologue_and_epilogue_insns): Mark parameter
              `f' with ATTRIBUTE_UNUSED.
              (reposition_prologue_and_epilogue_notes): Likewise.
              * genopinit.c (gen_insn): Cast argument of ctype functions to
              `unsigned char'.
              * haifa-sched.c: Include recog.h.
              (blockage_range): Cast result of UNIT_BLOCKED macro to (int) when
              comparing against one.
              * libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now.
              * mips-tfile.c (parse_end): Cast the argument of ctype function to
              `unsigned char'.
              (parse_ent): Likewise.
              (parse_input): Likewise.
              * optabs.c (init_libfuncs): Likewise.
              * protoize.c (find_rightmost_formals_list): Likewise.
              * recog.h (const_double_operand): Fix typo in prototype.
              * tlink.c (scan_linker_output): Cast the argument of ctype
              function to `unsigned char'.
              * toplev.c (check_lang_option): Cast the result of `strlen' to
              `int' when comparing against one.
      
      From-SVN: r23155
      Kaveh R. Ghazi committed
  33. 04 Oct, 1998 1 commit
  34. 06 May, 1998 2 commits
    • c-common.c: Convert to using ctype macros defined in system.h. · e9a780ec
              * c-common.c: Convert to using ctype macros defined in system.h.
              * c-lex.c: Likewise.
              * cccp.c: Likewise.
              * collect2.c: Likewise.
              * rs6000.c: Likewise.
              * cpplib.c: Likewise.
              * fix-header.c: Likewise.
              * gcc.c: Likewise.
              * gen-protos.c: Likewise.
              * pexecute.c: Likewise.
              * protoize.c: Likewise.
              * rtl.c: Likewise.
              * scan.c: Likewise.
              * stmt.c: Likewise.
              * tlink.c: Likewise.
              * toplev.c: Likewise.
      
      From-SVN: r19579
      Kaveh R. Ghazi committed
    • toplev.h: New file. · 10f0ad3d
      Wed May  6 06:35:38 1998  Robert Lipe  <robertl@dgii.com>
              * toplev.h: New file.   Protypes for functions in toplev.c.
              * tree.h, rtl.h: Deleted protos for functions in toplev.c.
              * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
              c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
              convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
              function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
              reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
              varasm.c: include it.
      
      From-SVN: r19564
      Robert Lipe committed
  35. 20 Mar, 1998 1 commit
    • Major cutover to using system.h: · 670ee920
              * 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
      Kaveh R. Ghazi committed
  36. 27 Feb, 1998 1 commit
    • genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE. · 5987a4f3
              * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
              * genattrtab.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.
              * tlink.c: Likewise.  Also wrap `getenv' in NEED_DECLARATION_GETENV.
      
      From-SVN: r18284
      Kaveh Ghazi committed
  37. 13 Feb, 1998 1 commit