1. 16 Nov, 2001 28 commits
    • regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE) to determine whether ISO CPP... · 23850d35
      	* regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE)
      	to determine whether ISO CPP token pasting is available.
      
      From-SVN: r47107
      Kaveh R. Ghazi committed
    • Makefile.in: Add MAKEOVERRIDES= to suppress exporting environment to (sub)shells. · f2731521
      2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
      
      	* Makefile.in: Add MAKEOVERRIDES= to suppress exporting
      	environment to (sub)shells.
      
      From-SVN: r47106
      John David Anglin committed
    • config.gcc (arm*-*-rtems*, [...]): Include various CPU headers via tm_file. · f910b1bb
      2001-11-16  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
      	arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
      	arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
      	arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
      	arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
      	arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
      	xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
      	* config/arm/aof.h: Don't include arm.h.
      	* config/arm/aout.h: Likewise.
      	* config/arm/coff.h: Don't include semi.h and aout.h.
      	* config/arm/elf.h: Don't include aout.h.
      	* config/arm/netbsd.h: Don't include netbsd.h and aout.h.
      	(TARGET_VERSION): Undef before defining.
      	(ARM_OS_NAME): Likewise
      	(TARGET_DEFAULT): Likewise
      	(TARGET_MEM_FUNCTIONS): Do not need to undefine now.
      	* config/arm/pe.h: Don't include arm/coff.h.
      	* config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
      	SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
      	* config/arm/riscix1-1.h: Likewise.
      	* config/arm/rix-gas.h: Don't include riscix.h.
      	(DBX_CONTIN_LENGTH): Undef before defining.
      	* config/arm/semi.h: Don't include aout.h.
      	* config/arm/semiaof.h: Don't include aof.h.
      	* config/arm/strongarm-coff.h: Don't include coff.h.
      	* config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
      	* config/arm/vxarm.h: Don't include arm/coff.h.
      	* config/arm/xscale-coff.h: Don't include coff.h.
      
      Approved by:  Nick Clifton <nickc@cambridge.redhat.com>
                    <m3ofm2c27q.fsf@north-pole.nickc.cambridge.redhat.com>
      
      From-SVN: r47105
      David O'Brien committed
    • stl_deque.h (deque::erase()): Fix memory leak. · 9c8e9f62
      2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
      
      From-SVN: r47103
      Paolo Carlini committed
    • howto.html (Thread-safety): Rename section to ``The Standard C++ library and… · 7dd4ba48
      howto.html (Thread-safety): Rename section to ``The Standard C++ library and multithreading'' and update...
      
              * docs/html/17_intro/howto.html (Thread-safety): Rename
              section to ``The Standard C++ library and multithreading'' and
              update information based on recent mailing list traffic.  Move
              all discussion of __USE_MALLOC to...
              * docs/html/23_containers/howto.html (Containers and multithreading):
              ...here and rework it based on recent mailing list traffic.
      
      From-SVN: r47102
      Loren J. Rittle committed
    • pa.c: Reflect changes in calling sequences of alter_reg and emit_cmp_insn. · 847898f6
      	* config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
      	emit_cmp_insn.
      
      From-SVN: r47101
      Richard Kenner committed
    • cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename to .... · d0225025
      	* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
      	to ....
      	(fixup_fallthru_exit_predecessor): ... this.
      	Change callers and prototype.
      
      From-SVN: r47098
      Andreas Jaeger committed
    • verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): New method. · f6b733ed
      	* verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): New
      	method.
      	(type::compatible): Use it.
      	(type::merge): Likewise.
      	(type::promote): Return a `type&'.
      	(get_one_type): Promote return value.
      
      From-SVN: r47097
      Tom Tromey committed
    • Some SSE fixes · 29628f27
      From-SVN: r47096
      Bernd Schmidt committed
    • Re-merge with Classpath, from Brian Jones: · 54b6b241
      	* java/lang/Integer.java (getInteger): Attempt to decode the value
      	of the system property instead of the name of the system property.
      	(parseInt): Throw NumberFormatException explicitly in the case of
      	a null argument in keeping with JDK 1.3.
      
      From-SVN: r47095
      Tom Tromey committed
    • * cp-tree.h (print_class_statistics): Restore. · 08f3a861
      From-SVN: r47094
      Neil Booth committed
    • Timer.java (TaskQueue.isStopped): Remove method. · 74808218
      	* java/util/Timer.java (TaskQueue.isStopped): Remove method.
      	(Scheduler.run): Try to re-schedule task and ignore exception if
      	queue has been stopped.
      
      From-SVN: r47093
      Mark Wielaard committed
    • linux-and-gnu.texi: Remove. · 81bbae61
      	* doc/include/linux-and-gnu.texi: Remove.
      	* doc/gnu.texi: New.
      	* doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
      	* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
      
      From-SVN: r47092
      Joseph Myers committed
    • a29k.c: Fix comment formatting. · 6b857ce3
      	* config/a29k/a29k.c: Fix comment formatting.
      	* config/a29k/a29k.h: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arc/arc.h: Likewise.
      	* config/vax/vax.c: Likewise.
      	* config/vax/vax.h: Likewise.
      	* config/we32k/we32k.c: Likewise.
      	* config/we32k/we32k.h: Likewise.
      
      From-SVN: r47091
      Kazu Hirata committed
    • unroll.c (copy_loop_body): Initialize JUMP_LABEL field after creating a new jump insn. · bcb07710
      	* unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
      	creating a new jump insn.
      
      From-SVN: r47090
      Jeff Law committed
    • expr.c (expand_expr, [...]): Refine test for when to copy misaligned data. · c952ff4b
      	* expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
      	copy misaligned data.
      	* varasm.c (assemble_variable): Set alignment into MEM when changed.
      
      From-SVN: r47089
      Richard Kenner committed
    • optabs.c (prepare_cmp_insn): Correct lossage in last change fix OPALIGN type. · f4dc10d1
      
      	* optabs.c (prepare_cmp_insn): Correct lossage in last change fix
      	OPALIGN type.
      
      From-SVN: r47088
      Graham Stott committed
    • except.c: Support for catching a list of types with a single handler (struct eh_region):... · 6d41a92f
              * except.c: Support for catching a list of types with a single handler
              (struct eh_region): Change type and filter to lists for catch regions.
              (mark_eh_region): Mark the filter list for GC also.
              (expand_start_catch): Always build a list if argument not NULL and
              register each type of the list through add_type_for_runtime.
              (duplicate_eh_region_1): Change type into type_list for catch regions.
              (assign_filter_values): Assign a filter to each type associated with a
              catch region. Assign filter for NULL types in a unique entry in the
              filter list.
              (build_post_landing_pads): Emit compare and jump for each filter of
              the list associated with a catch region.
              (reachable_next_level): When the type thrown is known, stop the search
              as soon as one type within a catch list matches. Also, a handler is
              potentially reachable only if at least one of the types it catches
              has not been previously caught.
              (collect_one_action_chain): Retrieve the filter for a NULL type list
              from the first filter list entry. For non NULL type lists, add an
              action record for every filter assigned.
              * except.h: Reflect changes in comment before expand_start_catch.
      
      From-SVN: r47087
      Olivier Hainque committed
    • expr.c (expand_expr, [...]): Only copy for misaligned if BLKmode. · a8ca89dc
      	* expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
      	BLKmode.
      
      From-SVN: r47086
      Richard Kenner committed
    • Daily bump. · 45fb7df5
      From-SVN: r47083
      GCC Administrator committed
    • c-lang.c (finish_file): Don't emit static inline functions if they weren't referenced. · 25e7f439
      	* c-lang.c (finish_file): Don't emit static inline functions if
      	they weren't referenced.
      
      	* gcc.c-torture/execute/20011115-1.c: New test.
      
      From-SVN: r47082
      Jakub Jelinek committed
    • * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref. · 38b3baae
      From-SVN: r47081
      Stan Shebs committed
    • s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns call. · e790b36a
      	* config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
      	call.
      	* config/i386/i386.md: Likewise.
      
      From-SVN: r47080
      Bryce McKinlay committed
    • * timevar.c (rtl.h): Include so get fancy abort. · 5237fc07
      From-SVN: r47079
      Richard Kenner committed
    • expr.c (store_field): Pass tree instead of max size; callers changed. · d43e0b7d
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
      	* doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
      	compare_rtx_and_jump, and emit_cmp_jump_insns.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
      	* config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
      	* config/i386/i386.c,config/mips/mips.c: Likewise.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
      	* emit-rtl.c (change_address): Fix typo in default alignment.
      	(adjust_address_1): Use mode of NEW, not MODE, when setting size.
      	* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
      	* rtl.h (REGNO_PTR_FRAME_P): New macro.
      
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
      	* explow.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/d30v/d30v.c: Reflect above changes.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
      	get_inner_reference.
      
      From-SVN: r47078
      Richard Kenner committed
    • verify.cc (type::compatible): Use _Jv_IsAssignableFrom. · f50e7a2d
      	* verify.cc (type::compatible): Use _Jv_IsAssignableFrom.
      	(type::merge): Likewise.
      
      From-SVN: r47077
      Tom Tromey committed
    • darwin.h (SELECT_RTX_SECTION): Force address initializers into 'const' section · 9f1a9740
      
      	* config/darwin.h (SELECT_RTX_SECTION):  Force address
      	initializers into 'const' section
      	* config/rs6000/rs6000.c (rs6000_emit_cmove):  Fix mode of
      	if_then_else to match result, not operands
      
      From-SVN: r47076
      Dale Johannesen committed
  2. 15 Nov, 2001 12 commits
    • alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P. · a06ef755
      	* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
      	* emit-rtl.c (change_address): Fix typo in default alignment.
      	(adjust_address_1): Use mode of NEW, not MODE, when setting size.
      	* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
      	* rtl.h (REGNO_PTR_FRAME_P): New macro.
      
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
      	* explow.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/d30v/d30v.c: Reflect above changes.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
      	get_inner_reference.
      
      From-SVN: r47075
      Richard Kenner committed
    • alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P. · d215024f
      	* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
      	* emit-rtl.c (change_address): Fix typo in default alignment.
      	(adjust_address_1): Use mode of NEW, not MODE, when setting size.
      	* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
      	* rtl.h (REGNO_PTR_FRAME_P): New macro.
      
      	* expr.c (store_field): Pass tree instead of max size; callers changed.
      	Change handling of alignment.
      	Only copy to_rtx if is TARGET.
      	(expand_expr_unaligned): Delete; callers now use expand_expr.
      	(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
      	(expand_assignment): Change handling of alignment.
      	Only copy to_rtx if was original.
      	(get_inner_reference): No longer return alginment; callers changed.
      	(expand_expr, case COMPONENT_REF): Change handling of alignment.
      	(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
      	(compare_from_rtx): Delete ALIGN parm; all callers changed.
      	(do_compare_rtx_and_jump): Likewise.
      	* expr.h: Reflect above changes.
      	* tree.h: Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
      	to get_inner_reference.
      	* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
      	* explow.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	(prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
      	(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
      	* fold-const.c: Remove PALIGN in calls to get_inner_reference.
      	* function.c (assign_stack_temp_for_type): No longer static.
      	* optabs.h (emit_cmp_insn): Remove ALIGN parm.
      	(prepare_cmp_insn): Delete declaration.
      	* rtl.h (assign_stack_temp_for_type): Add declaration.
      	* config/d30v/d30v.c: Reflect above changes.
      	* config/i860/i860.c, config/ia64/ia64.c: Likewise.
      	* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
      	* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
      	get_inner_reference.
      
      From-SVN: r47074
      Richard Kenner committed
    • rs6000.h: Fix a comment typo. · 7960cfbb
              * config/rs6000/rs6000.h: Fix a comment typo.
              (RTX_COSTS): Sort processor versions better.
      
      From-SVN: r47073
      Stan Shebs committed
    • * config/h8300/h8300.md: Fix insn length of bit insns. · 8d795882
      From-SVN: r47070
      Kazu Hirata committed
    • White-space change · 1fac0c33
      From-SVN: r47069
      Richard Kenner committed
    • config.in (HAVE_UINTPTR_T): Provide autoconf stub. · d3982b71
              * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
              * configure.in (HAVE_UINTPTR_T): Test for system defining
              uintptr_t and define HAVE_UINTPTR_T appropriately.
              * regex.c (uintptr_t): Do not provide a definition if the
              system provided one.
      
      From-SVN: r47068
      Jeffrey A Law committed
    • regex.c (PREFIX): Provide an alternate definition for non-ANSI/ISO compilers. · 7ddfb651
      	* regex.c (PREFIX): Provide an alternate definition for
      	non-ANSI/ISO compilers.
      	(ARG_PREFIX): Likewise.
      
      From-SVN: r47067
      Jeffrey A Law committed
    • dwarf2out.c (dwarf2out_finish): Don't abort because of orphan DIEs if there were… · 18b5b8d6
      dwarf2out.c (dwarf2out_finish): Don't abort because of orphan DIEs if there were errors in the source.
      
              * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
              DIEs if there were errors in the source.
      
              * config/alpha/alpha-interix.h, config/alpha/elf.h,
              config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
              config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
              config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
              config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
              config/elfos.h, config/lynx.h, config/netware.h,
              config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
              config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
              uses to use ASM_LONG.
      
      From-SVN: r47066
      Jason Merrill committed
    • reduce arena size for small targets · f6b08fe8
      From-SVN: r47065
      Jason Merrill committed
    • avoid includes · 22f86c32
      From-SVN: r47064
      Jason Merrill committed
    • gensupport.c [...]: Change call to alloca to xmalloc. · 94414790
      
      2001-11-15  Alan Matsuoka  <alanm@redhat.com>
      
      	* gensupport.c	process_include : Change call to alloca to
      	xmalloc.
      
      From-SVN: r47062
      Alan Matsuoka committed