1. 06 Jun, 2005 1 commit
    • libiberty.h (XOBFINISH): New. · 7973fd2a
      libiberty/
      2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              * libiberty.h (XOBFINISH): New.
      
      gcc/
      2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              * c-lex.c (lex_string): Use XOBFINISH.
              * collect2.c (extract_string, dump_file): Likewise.
              * dbxout.c (dbxout_finish_complex_stabs): Likewise.
              * gcc.c (init_spec, build_search_list, convert_filename,
              set_collect_gcc_options, do_spec_2, do_spec_1, main):
              * Likewise.
              * genpreds.c (write_predicate_subfunction): Likewise.
              * genflags.c (main): Likewise.
              * read-rtl.c (mode_attr_index, apply_macro_to_string,
              join_c_conditions, read_quoted_string, read_braced_string,
              read_rtx_1): Likewise.
              * stringpool.c (ggc_alloc_string): Likewise.
              * tlink.c (obstack_fgets, recompile_files): Likewise.
      
      From-SVN: r100678
      Gabriel Dos Reis committed
  2. 31 Mar, 2005 1 commit
    • collect2.c (lderrout): New variable. · 68ec3111
      	* collect2.c (lderrout): New variable.
      	(collect_exit): Dump ldout to stdout.  Dump and unlink lderrout,
      	if it is set, to stderr.
      	(handler): Unlink lderrout if it is set.
      	(dump_file): Add "to" parameter.  Change all callers.
      	(main): Initialize lderrout.
      	(collect_execute): Add errname parameter.  Change all callers.
      	Rename redir parameter to outname.  Never pass
      	PEX_STDERR_TO_STDOUT to pex_run.
      	* collect2.h (collect_execute, dump_file): Update declarations.
      	* tlink.c (tlink_execute): Add errname parameter.  Change all
      	callers.
      	(do_tlink): Check lderrout as well as ldout.
      
      From-SVN: r97321
      Ian Lance Taylor committed
  3. 30 Mar, 2005 1 commit
  4. 29 Mar, 2005 1 commit
    • re PR bootstrap/14316 (collect2 doesnt build on windows hosts) · 1fff69c9
      	PR bootstrap/14316
      	* collect2.c: Never include <vfork.h>.
      	(VFORK_STRING, vfork): Don't define.
      	(pid): Remove global variable.
      	(handler): Call raise instead of kill (getpid(), ...).
      	(collect_wait): Add pex parameter.  Change all callers.  Use
      	pex_get_status rather than pwait.
      	(do_wait): Add pex parameter.  Change all callers.
      	(collect_execute): Return struct pex_obj * rather than void.  Use
      	pex routines rather than pexecute.
      	(fork_execute): Get pex_obj from collect_execute, and pass it to
      	do_wait.
      	(scan_prog_file): Use pex routines rather than pipe/vfork/exec.
      	Only declare quit_handler if SIGQUIT is defined.
      	(scan_libraries): Likewise.
      	* collect2.h (collect_execute): Update declaration.
      	(collect_wait): Update declaration.
      	* tlink.c (tlink_execute): Get pex_obj from collect_execute, and
      	pass it to collect_wait.
      
      From-SVN: r97199
      Ian Lance Taylor committed
  5. 09 Nov, 2004 1 commit
    • builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. · 9e637a26
      	* builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
      	c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
      	gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
      	tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
      	config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
      	config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
      	config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
      	config/iq2000/iq2000.c, config/m32r/m32r.c,
      	config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
      	config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
      	config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
      	config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
      	config/sh/symbian.c, config/stormy16/stormy16.c,
      	config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
      	and %> as appropriate.  Use %' as apostrophe in diagnostics where
      	applicable.  Use %< and %> in place of '' quotes where applicable.
      	Use %qs in place of %<%s%>.  Consistently quote __builtin function
      	names.
      
      ada:
      	* misc.c (gnat_handle_option): Use %< and %> for quoting in
      	warning message.
      
      cp:
      	* call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
      	pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
      	quoting in diagnostics.
      	* parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
      	quoting in printf format.
      	* decl.c (duplicate_decls, start_decl): Use %qD instead of
      	unquoted %D.
      
      objc:
      	* objc-act.c: Use %q, %< and %> for quoting in diagnostics.
      
      testsuite:
      	* gcc.dg/builtin-prefetch-1.c: Adjust expected messages.
      
      From-SVN: r90337
      Joseph Myers committed
  6. 15 Oct, 2004 1 commit
    • bitmap.c, [...]: Update copyright. · f30278e8
      	* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
      	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
      	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
      	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
      	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
      	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
      	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
      	predict.def, predict.h, protoize.c, reload.h, resource.h,
      	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
      	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
      	unwind-sjlj.c, value-prof.h: Update copyright.
      
      From-SVN: r89097
      Kazu Hirata committed
  7. 25 Aug, 2004 1 commit
    • tlink.c (initial_cwd): New variable. · 4185f1ce
      	* tlink.c (initial_cwd): New variable.
      	(tlink_init): Initialize it.
      	(recompile_files): Use tlink_execute() instead of system().  Don't
      	duplicate verbose output of collect_execute.  Restore initial_cwd.
      	Update comment before the function.
      
      From-SVN: r86577
      Adam Nemet committed
  8. 29 Jul, 2004 1 commit
    • c-common.h (lang_post_pch_load): New variable. · 4684cd27
      	* c-common.h (lang_post_pch_load): New variable.
      	* c-pch.c (lang_post_pch_load): Define it.
      	(c_common_read_pch): Use it.
      	* cgraphunit.c (record_call_1): Give the front end a chance to
      	record additional needed entities when a variable is marked as
      	needed.
      	* tlink.c (recompile_files): Robustify.
      	(scan_linker_output): If a symbol is assigned to a file,
      	but after recompilation is not present there, issue an error
      	message.
      
      	* cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define.
      	(lang_decl_flags): Narrow the width of "languages".  Add
      	repo_available_p.
      	(DECL_NEEDED_P): Remove.
      	(FOR_EACH_CLONE): New macro.
      	(DECL_REPO_AVAILABLE_P): Likewise.
      	(DECL_TINFO_P): Likewise.
      	(set_linkage_according_to_type): Declare.
      	(import_export_vtable): Remove.
      	(import_export_tinfo): Likewise.
      	(mark_needed): New function.
      	(decl_needed_p): Likewise.
      	(note_vauge_linkage_fn): Likewise.
      	(init_repo): Change prototype.
      	(repo_template_used): Remove.
      	(repo_template_instantiated): Likewise.
      	(repo_emit_p): New function.
      	(repo_export_class_p): Likewise.
      	(no_linkage_check): Change prototype.
      	* class.c (set_linkage_according_to_type): New function.
      	(build_vtable): Use it.  Do not call import_export_vtable.  Set
      	DECL_IGNORED_P if appropriate.
      	* decl.c (duplicate_decls): Preserve DECL_REPO_AVAILABLE_P.
      	(make_rtL_for_nonlocal_decls): Check for template instantiations
      	explicitly.
      	(grokfndecl): Adjust call to no_linkage_check.
      	(set_linkage_for_static_data_member): New function.
      	(grokvardecl): Use it.  Adjust call to no_linkage_check.
      	(grokdeclarator): Use set_linkage_for_static_data_member.
      	* decl2.c (note_vague_linkage_fn): New function.
      	(note_vague_linkage_var): Likewise.
      	(finish_static_data_member_decl): Use it.
      	(import_export_vtable): Remove.
      	(import_export_class): Use repo_export_class_p.
      	(var_finalized_p): Simplify.
      	(maybe_emit_vtables): Simplify.
      	(mark_needed): New function.
      	(decl_needed_p): Likewise.
      	(import_export_decl): Add documentation and consistency checks.
      	Use repo_emit_p.  Handle virtual tables and RTTI information
      	here.
      	(import_export_tinfo): Remove.
      	(write_out_vars): Call import_export_decl.
      	(cxx_callgraph_analyze_expr): Ensure that all vtables are emitted
      	whenever one is.
      	(finish_file): Use decl_needed_p.  Do not call import_export_decl
      	for undefined static data members.  Do not warn about undefined
      	inlines when using a repository.
      	(mark_used): Use note_vague_linkage_fn.  Always defer template
      	instantiations.
      	* lex.c (cxx_init): Adjust call to init_repo.  Always set
      	flag_unit_at_a-time.
      	* method.c (synthesize_method): Remove unncessary
      	import_export_decl call.
      	(implicitly_declare_fn): Use set_linkage_according_to_type.
      	* optimize.c (maybe_clone_body): Use FOR_EACH_CLONE.
      	* pt.c (instantiate_class_template): Don't redundantly add classes
      	to keyed_classes.  Don't call repo_template_used.
      	(tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of
      	templates with internal linkage.
      	(check_instantiated_args): Adjust call to no_linkage_check.
      	(instantiate_template): Use FOR_EACH_CLONE.
      	(mark_definable): New function.
      	(mark_decl_instantiated): Use it.
      	(do_decl_instantiation): Adjust tests for explicit instantiation
      	after "extern template".
      	(instantiate_class_member): Do not use repo_template_instantiated.
      	(do_type_instantiation): Simplify.
      	(instantiate_decl): Use mark_definable.  Check repo_emit_p.
      	Simplify.
      	* repo.c (repo_get_id): Remove.
      	(original_repo): Remove.
      	(IDENTIFIER_REPO_USED): Remove.
      	(IDENTIFIER_REPO_CHOSEN): Remove.
      	Remove all #if 0'd code.
      	(repo_template_used): Remove.
      	(repo_template_instantiated): Remove.
      	(temporary_obstack_initialized_p): New variable.
      	(init_repo): Register with lang_post_pch_load.  Avoid creating
      	identifiers unnecessarily.  Don't use original_repo.  Close the
      	file here.
      	(reopen_repo_file_for_write): Not here.
      	(finish_repo): Always write out a new repository file.
      	(repo_emit_p): New function.
      	(repo_export_class_p): Likewise.
      	* rtti.c (get_tinfo_decl): Use set_linkage_according_to_type.
      	(involves_incomplete_p): New function.
      	(tinfo_base_init): Use it.
      	(ptr_initializer): Remove non_public_ptr parameter.
      	(ptm_initializer): Likewise.
      	(get_pseudo_ti_init): Likewise.
      	(unemitted_tinfo_decl_p): Remove.
      	(emit_tinfo_decl): Use import_export_decl.
      	* semantics.c (expand_body): Move updates of static_ctors and
      	static_dtors to ...
      	(expand_or_defer_fn): ... here.
      	* tree.c (no_linkage_check): Add relaxed_p parameter.
      
      	* g++.dg/abi/inline1.C: New test.
      	* g++.dg/abi/local1-a.cc: Likewise.
      	* g++.dg/abi/local1.C: Likewise.
      	* g++.dg/abi/mangle11.C: Tweak location of warnings.
      	* g++.dg/abi/mangle12.C: Likewise.
      	* g++.dg/abi/mangle17.C: Likewise.
      	* g++.dg/abi/mangle20-2.C: Likewise.
      	* g++.dg/opt/interface1.C: Likewise.
      	* g++.dg/opt/interface1.h: Likewise.
      	* g++.dg/opt/interface1-a.cc: New test.
      	* g++.dg/parse/repo1.C: New test.
      	* g++.dg/template/repo1.C: Likewise.
      	* g++.dg/warn/Winline-1.C: Likewise.
      	* lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling.
      
      From-SVN: r85309
      Mark Mitchell committed
  9. 19 Jul, 2003 1 commit
    • alias.c [...]: Remove unnecessary casts. · 703ad42b
      	* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
      	c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
      	c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
      	collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
      	cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
      	cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
      	dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
      	fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
      	gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
      	genemit.c genextract.c genoutput.c genrecog.c gensupport.c
      	ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
      	integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
      	loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
      	postreload.c prefix.c print-tree.c protoize.c ra-build.c
      	ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
      	regmove.c regrename.c reload.c reload1.c reorg.c resource.c
      	sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
      	simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
      	tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
      	varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
      	casts.
      
      From-SVN: r69587
      Kaveh R. Ghazi committed
  10. 06 Jul, 2003 1 commit
    • sbitmap.c: Convert prototypes to ISO C90. · 46c5ad27
      	* sbitmap.c: Convert prototypes to ISO C90.
      	* sbitmap.h: Likewise.
      	* scan-decls.c: Likewise.
      	* scan.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* sched-vis.c: Likewise.
      	* sibcall.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* sreal.c: Likewise.
      	* sreal.h: Likewise.
      	* ssa-ccp.c: Likewise.
      	* ssa-dce.c: Likewise.
      	* ssa.c: Likewise.
      	* ssa.h: Likewise.
      	* stack.h: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* stringpool.c: Likewise.
      	* target.h: Likewise.
      	* timevar.c: Likewise.
      	* timevar.h: Likewise.
      	* tlink.c: Likewise.
      	* tracer.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-inline.h: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      
      From-SVN: r69002
      Andreas Jaeger committed
  11. 16 Jun, 2003 1 commit
    • decl.c, [...]: Don't use the PTR macro. · fad205ff
      cp:
      	* cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR
      	macro.
      
      gcc:
      	* bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
      	config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
      	dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
      	function.c, gcc.c, genoutput.c, gensupport.c, global.c,
      	haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
      	loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
      	read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
      	stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
      	the PTR macro.
      
      From-SVN: r68043
      Kaveh R. Ghazi committed
  12. 23 May, 2003 2 commits
  13. 22 Apr, 2003 1 commit
  14. 26 Feb, 2003 1 commit
  15. 24 Dec, 2002 1 commit
    • regmove.c: Fix comment typos. · 14b493d6
      	* regmove.c: Fix comment typos.
      	* reload.c: Likewise.
      	* reload1.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.def: Likewise.
      	* rtl.h: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sibcall.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* ssa-ccp.c: Likewise.
      	* ssa.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* system.h: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* tracer.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      	* unroll.c: Likewise.
      	* varasm.c: Likewise.
      
      From-SVN: r60473
      Kazu Hirata committed
  16. 16 Dec, 2002 1 commit
  17. 16 Nov, 2002 1 commit
  18. 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
  19. 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
  20. 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
  21. 04 Jun, 2002 1 commit
  22. 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
  23. 18 May, 2002 1 commit
  24. 09 Nov, 2001 1 commit
  25. 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
  26. 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
  27. 14 Aug, 2001 1 commit
  28. 01 Jul, 2001 1 commit
  29. 04 May, 2001 1 commit
  30. 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
  31. 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
  32. 18 Jul, 2000 1 commit
  33. 29 Jun, 2000 1 commit
  34. 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
  35. 06 Apr, 2000 1 commit
  36. 15 Dec, 1999 1 commit
  37. 17 Sep, 1999 2 commits
  38. 03 Sep, 1999 1 commit
    • 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