1. 19 Aug, 2001 20 commits
  2. 18 Aug, 2001 18 commits
    • timevar.h (struct timevar_time_def): Change element type to float. · 20cc76d5
              * timevar.h (struct timevar_time_def): Change element type to float.
              (ticks_to_msec, clocks_to_msec): Likewise.
              (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
              (get_time): Likewise.
              (timevar_print): Adjust zero check and printing to match.
      
      From-SVN: r45013
      Richard Henderson committed
    • extend.texi, [...]: Eliminate overfull or underfull hboxes. · 9c34dbbf
              * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
              doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
              Eliminate overfull or underfull hboxes.
      
      From-SVN: r45012
      Zack Weinberg committed
    • ansidecl.h: Reorganize for readability... · b649398a
      include:
              * ansidecl.h: Reorganize for readability, remove documentation
              of obsolete macros, document PARAMS and VPARAMS.  Add new
              macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic
              function implementation.
      
      gcc:
              * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
      
      From-SVN: r45011
      Zack Weinberg committed
    • oops, that went with the previous commit · 76f4925a
      From-SVN: r45010
      Zack Weinberg committed
    • haifa-sched.c: Convert to target hooks. · c237e94a
      	* haifa-sched.c: Convert to target hooks.  Macros replaced
      	are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
      	MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
      	MD_SCHED_FINISH, and HAVE_cycle_display.
      	* target-def.h (TARGET_SCHED_ADJUST_COST,
      	TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
      	TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
      	TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
      	TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
      	New hook #defines to be overridden.
      	(TARGET_SCHED): Bring them all together.
      	(TARGET_INITIALIZER): Update.
      	* target.h: Don't forward declare struct rtx_def.  Use 'rtx'
      	instead of 'struct rtx_def *' throughout.
      	(struct sched): New set of hooks for the scheduler.
      	* Makefile.in (haifa-sched.o): Depend on target.h.
      	* doc/tm.texi: Document the new scheduler hooks, together in
      	their own section, instead of scattered around.
      	Fix a bunch of underfull/overfull hboxes.
      
      	* a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
      	ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
      	sparc.h: Don't define any of the old scheduler macros.
      
      	* a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
      	ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
      	sparc.c: Create hook functions from code extracted from
      	corresponding target header, or make existing hooks static, as
      	appropriate.  Set the appropriate entries in targetm.
      
      	* alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
      	i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
      	rs6000-protos.h, s390-protos.h, sparc-protos.h:
      	Remove prototypes for functions which are now static.
      
      	* d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
      	related gunk; the Haifa scheduler is now the only choice.
      
      From-SVN: r45009
      Zack Weinberg committed
    • 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
  3. 17 Aug, 2001 2 commits