1. 20 May, 2003 1 commit
  2. 19 May, 2003 25 commits
  3. 18 May, 2003 14 commits
    • re PR middle-end/10472 (ICE in instantiate_virtual_regs_lossage) · 731ae8dd
      
      	PR middle-end/10472
      	* builtins.c (expand_builtin_memcpy):  Call force_operand on
      	expressions and use simplify_gen_binary to create the addition.
      
      	* gcc.c-torture/compile/20030518-1.c: New test case.
      
      Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
      Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
      
      From-SVN: r66941
      Roger Sayle committed
    • * config/sparc/sparc.h: Define sparc for now. · 094a51ff
      From-SVN: r66938
      Neil Booth committed
    • gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter. · 563025ca
      	* lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
      	* gcc.dg/debug/debug.exp: Pass opt_opts parameter to
      	gcc-dg-debug-runtest.
      	* g++.dg/debug/debug.exp: Pass opt_opts parameter to
      	gcc-dg-debug-runtest.
      
      From-SVN: r66937
      Mark Mitchell committed
    • gcc_release: GNU CC -> GCC. · 567bfee8
      2003-05-18  Nathanael Nerode  <neroden@gcc.gnu.org>
      
      	* gcc_release: GNU CC -> GCC.
      
      From-SVN: r66936
      Nathanael Nerode committed
    • stormy16.h: Remove about 3000 lines of target-independent comments. · 595cac16
      	* config/stormy16/stormy16.h: Remove about 3000 lines of
      	target-independent comments.  Update copyright notice.
      
      From-SVN: r66934
      Nathanael Nerode committed
    • collect2.texi: GNU CC -> GCC. · 7d4f6041
      	* doc/collect2.texi: GNU CC -> GCC.
      	* doc/headerdirs.texi: GNU CC -> GCC.
      
      From-SVN: r66933
      Nathanael Nerode committed
    • <top level> · 8b87bb96
      <top level>
      	* configure.in: Switch more things to use maybe dependencies.
      	Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
      	* configure: Regenerate.
      	* Makefile.tpl: Switch more things to use maybe dependencies.
      	* Makefile.in: Regenerate.
      
      <config>
      	* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
      	_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
      	GCC_TOPLEV_SUBDIRS.
      
      From-SVN: r66932
      Nathanael Nerode committed
    • intdoc.in: Fix documentation of IDATE. · 31ac6c9d
      2003-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* intdoc.in: Fix documentation of IDATE.
      	* intdoc.texi: Regenerate.
      	* news.texi: Update due to also fixing it in 3.3.1.
      
      From-SVN: r66931
      Toon Moene committed
    • hashtable.h (struct ht_identifier): Add data member "hash_value". · 5e0c54e5
      
      	* hashtable.h (struct ht_identifier): Add data member "hash_value".
      	* hashtable.c (ht_lookup): Use it when searching, remember.
      	(ht_expand): Do not recompute.
      	* tree.h (IDENTIFIER_HASH_VALUE): New macro.
      
      cp/
      	* cp-tree.h (struct lang_type_class): Replace data member tags
      	with hash-table nested_udts.
      	(CLASSTYPE_NESTED_UTDS): Rename from CLASSTYPE_TAGS.
      	* class.c (unreverse_member_declarations): Don't touch
      	CLASSTYPE_TAGS.
      	(pushclass): Use cxx_remember_type_decls.
      	* decl.c (struct cp_binding_level): Replace data member tags with
      	hash-table type_decls.
      	(pop_binding_level): Handle level->type_decls.
      	(kept_level_p): Adjust.
      	(poplevel): Remove unused local variable.
      	(bt_print_entry): New function.
      	(print_binding_level): Use it.
      	(push_namespace): Build current_binding_level->type_decls.
      	(maybe_process_template_type_declaration): Adjust.
      	(pushtag): Likewise.
      	(clear_anon_tags): Use binding_table_remove_anonymous_types.
      	(gettags): Remove.
      	(cxx_remember_type_decls):  Rename from storetags.  Adjust.
      	(lookup_tag): Use binding_table_find_anon_type.  Tidy.
      	(lookup_tag_reverse): Use binding_table_reverse_maybe_remap.
      	(cxx_init_decl_processing): Build global_binding_level->type_decls.
      	(store_parm_decls): Remove pointless code.
      	* name-lookup.c (free_binding_entry): New variable.
      	(ENTRY_INDEX): New macro.
      	(struct binding_table_s): New datatype.
      	(binding_entry_make): New function.
      	(binding_entry_free): Likewise.
      	(binding_table_construct): Likewise.
      	(binding_table_free): Likewise.
      	(binding_table_new): Likewise.
      	(binding_table_expand): Likewise.
      	(binding_table_insert): Likewise.
      	(binding_table_find): Likewise.
      	(binding_table_find_anon_type): Likewise.
      	(binding_table_reverse_maybe_remap): Likewise.
      	(binding_table_remove_anonymous_types): Likewise.
      	(binding_table_foreach): Likewise.
      	* name-lookup.h (binding_table): New type.
      	(binding_entry): Likewise.
      	(bt_foreach_proc): Likewise.
      	(struct binding_entry_s): New datatype.
      	(SCOPE_DEFAULT_HT_SIZE): New macro.
      	(CLASS_SCOPE_HT_SIZE): Likewise.
      	(NAMESPACE_ORDINARY_HT_SIZE): Likewise.
      	(NAMESPACE_STD_HT_SIZE): Likewise.
      	(GLOBAL_SCOPE_HT_SIZE): Likewise.
      	(binding_table_new): Declare.
      	(binding_table_free): Likewise.
      	(binding_table_insert): Likewise.
      	(binding_table_find_anon_type): Likewise.
      	(binding_table_reverse_maybe_remap): Likewise.
      	(binding_table_remove_anonymous_types): Likewise.
      	(binding_table_foreach): Likewise.
      	(binding_table_find): Likewise.
      	(cxx_remember_type_decls): Likewise.
      	* pt.c (bt_instantiate_type_proc): New function.
      	(do_type_instantiation): Use it.
      	* search.c (lookup_field_r): Use binding_table_find.
      
      From-SVN: r66930
      Gabriel Dos Reis committed
    • re PR c++/9022 (using declaration accepted as using directive) · 5c9acdf7
      	PR c++/9022
      	* g++.dg/lookup/using6.C: New test.
      
      From-SVN: r66928
      Kriang Lerdsuwanakij committed
    • * gcov-io.c (gcov_read_bytes): Fix fread thinko. · dc1f1d7f
      From-SVN: r66927
      Nathan Sidwell committed
    • c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, [...]): Default here. · 4e2e315f
      	* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
      	Default here.
      	(c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
      	* defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
      	* config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
      	* config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
      	config/arm/linux-elf.h, config/arm/rtems-elf.h,
      	config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
      	config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
      	config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
      	config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
      	config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
      	config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
      	config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
      	config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
      	config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
      	config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
      	config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
      	Don't define __ELF__.
      	* config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
      	Define __ELF__.
      	* doc/cpp.texi: Document __ELF__.
      	* doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.
      
      From-SVN: r66926
      Neil Booth committed