1. 18 Aug, 2001 13 commits
    • optabs.h (OTI_flodiv, [...]): Kill. · ef89d648
      	* optabs.h (OTI_flodiv, flodiv_optab): Kill.
      	* genopinit.c: Put floating point divide insns in sdiv_optab.
      	* expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
      	* config/gofast.h, config/c4x/c4x.h,
      	config/ia64/hpux_longdouble.h, config/mips/mips.h,
      	config/pa/long_double.h, config/rs6000/sysv4.h,
      	config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
      	* optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
      	(init_optabs): Use init_optabv for overflow-trapping optabs.
      	Don't init flodiv_optab.  Give mov_optab, movstrict_optab, and
      	cmp_optab RTX codes so have_insn_for can find them.
      
      	* optabs.c (expand_simple_binop, expand_simple_unop,
      	have_insn_for, gen_sub3_insn): New interfaces.
      	* expr.h: Prototype new functions.
      	(enum optab_methods): Move here from optabs.h.
      
      	* builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
      	loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
      	Use new	functions instead of working directly with optabs.
      	* doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
      	unroll.c: Don't include optabs.h.
      	* caller-save.c, combine.c, function.c, stmt.c: Just include
      	insn-codes.h, not optabs.h.
      	* Makefile.in: Update dependencies.
      
      	* combine.c (make_compound_operation, simplify_comparison):
      	Fix typos testing for this or that instruction.
      
      From-SVN: r45008
      Zack Weinberg committed
    • configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0. · 8d36d722
      	* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
      	m68k and m680[246]0.
      	* config/cpu/m68k/bits/atomicity.h: New file.
      
      From-SVN: r45006
      Andreas Schwab committed
    • mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when generating libgcc.a. · 9e23c02d
              * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
              generating libgcc.a.
      
      From-SVN: r45005
      Herman A.J. ten Brugge committed
    • except.c (TYPE_HASH): Delete. · 1c0cc57e
      	* except.c (TYPE_HASH): Delete.
      
      	* objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
      	HOST_WIDE_INT.
      
      	* tree.c (TYPE_HASH): Delete.
      
      	* tree.h (TYPE_HASH): Define.
      
      ch:
      	* tree.c (TYPE_HASH): Moved to ../tree.h.
      
      cp:
      	* decl.c: Cast argument to size_t, not HOST_WIDE_INT, in calls to
      	GNU_xref_start_scope and GNU_xref_end_scope.
      
      	* tree.c (TYPE_HASH): Moved to ../tree.h.
      
      From-SVN: r45004
      Kaveh R. Ghazi committed
    • mips.md (adddi3_internal_2+1): Remove contraints from define_split. · 13c508d9
      
      	* config/mips/mips.md (adddi3_internal_2+1): Remove contraints from
      	define_split.
      	(adddi3_internal_2+2): Likewise.
      	(eh_set_lr_di+1): Likewise.
      
      From-SVN: r45002
      Graham Stott committed
    • cppinit.c (init_standard_includes): Reverse accidentally included hunk from prefix.c patch. · fc0b1d1a
      	* cppinit.c (init_standard_includes): Reverse accidentally
      	included hunk from prefix.c patch.
      
      From-SVN: r45001
      Neil Booth committed
    • Daily bump. · 5dc4ff73
      From-SVN: r45000
      GCC Administrator committed
    • UnicodeToBytes.java (write): Write work buffer starting from zero offset. · 8ff62227
      	* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer
      	starting from zero offset.
      
      From-SVN: r44997
      Jeff Sturm committed
    • Implement std::collate. · ea0c0b6e
      
      2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	Implement std::collate.
      	* config/locale/collate_specializations_gnu.cc: Add here, implement in
      	MT-safe way.
      	* config/locale/collate_specializations_generic.cc: Add here, but
      	in a less sophisticated manner.
      	* include/bits/locale_facets.tcc (collate): Add generic definition.
      	* include/bits/locale_facets.h (~collate): Mark virtual.
      	(collate::_M_compare_helper): New.
      	(collate::_M_transform_helper): New.
      	* src/locale.cc: Remove unnecessary specializations.
      	* src/string-inst.cc: Tweak instantiation of ctors.
      
      	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* src/Makefile.am (sources): Add collate.cc.
      	* src/Makefile.in: Regenerate.
      
      	* testsuite/22_locale/collate_byname.cc: New.
      	* testsuite/22_locale/collate.cc: New file.
      	* testsuite/22_locale/collate_char_members.cc: New file.
      	* testsuite/22_locale/collate_wchar_t_members.cc: New file.
      
      From-SVN: r44996
      Benjamin Kosnik committed
    • Makefile.am, [...]: Imported GC 6.0 and merged local changes. · 5a2586cf
      	* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
      	merged local changes.
      
      From-SVN: r44994
      Tom Tromey committed
    • boehm.cc: Include gc_local_alloc.h if appropriate. · eed56669
      2001-08-17  Hans-J. Boehm <Hans_Boehm@hp.com>
      
      	* boehm.cc: Include gc_local_alloc.h if appropriate.
      	(GC_GENERIC_MALLOC): Don't define.
      	(MAYBE_MARK): Redefine for GC 6.0.
      	(_Jv_MarkObj): Mark class differently.
      	(_Jv_AllocArray): Use GC_generic_malloc.
      
      From-SVN: r44993
      Hans Boehm committed
    • defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Move from ... · c8af3574
      	* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
      	UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
      	* dwarf2asm.c: ... here.
      	* dwarfout.c: Remove them.
      
      	* varasm.c (assemble_integer): Add align parameter.
      	(assemble_real, output_constant, output_constructor): Likewise.
      	* output.h: Update decls.
      	* dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
      	config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
      	config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
      	config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
      	config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
      	Update all callers.
      
      	* final.c (end_final): Abort profile block generation if we
      	havn't layed it out properly.
      	* output.h (assemble_eh_integer): Remove stale decl.
      	* varasm.c (assemble_zeros): Tidy; use assemble_integer.
      	(min_align): New.
      	(assemble_integer): Handle unaligned data.
      	(assemble_real): Abort on unaligned data.
      	(output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
      	anything useful.
      	(default_dtor_section_asm_out_destructor): Use assemble_align.
      	(default_named_section_asm_out_constructor): Likewise.
      	(default_ctor_section_asm_out_constructor): Likewise.
      	* config/darwin.c (machopic_asm_out_constructor): Likewise.
      	(machopic_asm_out_destructor): Likewise.
      	* config/nextstep.c (nextstep_asm_out_constructor): Likewise.
      	(nextstep_asm_out_destructor): Likewise.
      	* config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
      	(vms_asm_out_destructor): Likewise.
      
              * java/class.c (emit_register_classes): Add align parameter to
              call to assemble_integer.
      
      From-SVN: r44992
      Richard Henderson committed
    • iris6.h (TARGET_IRIX6): New. · 920ae24b
              * config/mips/iris6.h (TARGET_IRIX6): New.
              (current_section_name, current_section_flags): New.
              (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
              (MAX_OFILE_ALIGNMENT): New.
              (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
              * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
              (copy_file_data): Split out from
              (mips_asm_file_end): ... here.
              (mips_asm_file_start): Remove extra .section directive.  Use
              tmpfile instead of mips_make_temp_file.
              (mips_unique_section): Use const char * as needed for warnings.
              (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
              re-add align parameter.
              (iris6_asm_named_section): New.
              (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
              (iris6_asm_output_align, iris6_section_align_1): New.
              (iris6_asm_file_start, iris6_asm_file_end): New.
              * config/mips/mips-protos.h: Update decls.
      
      From-SVN: r44991
      Richard Henderson committed
  2. 17 Aug, 2001 27 commits