1. 23 Jul, 2001 7 commits
  2. 22 Jul, 2001 11 commits
    • flow.c (split_block): Make sure bb_note is included in the new block when splitting before a label. · 0b6301ae
              * flow.c (split_block): Make sure bb_note is included in the
              new block when splitting before a label.
      
      From-SVN: r44250
      Richard Henderson committed
    • basic-block.h (redirect_edge_and_branch_force, [...]): Declare. · 6b24c259
      	* basic-block.h (redirect_edge_and_branch_force,
      	redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
      	* flow.c (redirect_edge_and_branch_force,
      	redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
      	(redirect_edge_and_branch_force): Fix copying of lifeness information.
      	(block_label): Handle EXIT_BLOCK_PTR by returning NULL.
      	* ifcvt.c (dead_or_predictable): Take BB as an new destionation
      	instead of label; update CFG after transformation.
      	(find_if_case_1): Update call, use redirect_edge_and_branch_force
      	for finishing the transformation; handle even case where ELSE
      	does not follow THEN.
      	(find_if_case_2): Update call of dead_or_predictable; simplify
      	CFG update.
      
      	* emit-rtl.c (split_branch_probability): New global variable.
      	(try_split): Take care to set split_branch_probability and
      	create REG_BR_PROB note for new jump insns.
      	* md.texi (define_split): Document new feature.
      
      	* i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
      
      From-SVN: r44249
      Jan Hubicka committed
    • varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h. · 544f03b4
      	* varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
      	(asm_out_file): Remove redundant declaration.
      	(assemble_asm): Remove old #if 0 block.
      	(assemble_variable): Remove end of function; debug output is
      	now handled with global_decl.  Remove old #if 0 block.  Update.
      	Remove saved_in_section and associated no-op code.
      	* Makefile.in (varasm.o): Correct dependencies.
      
      From-SVN: r44248
      Neil Booth committed
    • freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use the definition in defaults.h. · bad1f214
      * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
      the definition in defaults.h.
      
      From-SVN: r44247
      Alexandre Oliva committed
    • jump.c: Update comments. · 0045d504
      	* jump.c: Update comments.
      	(delete_barrier_successors, delete_unreferenced_labels,
      	delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
      	delete_labelref_insn, redirect_tablejump, jump_optimize_1,
      	jump_optimize, jump_optimize_minimal): Kill.
      	(rebuild_jump_labels): Move code from jump_optimize_1.
      	(purge_line_number_notes): Likewise.
      	(copy_loop_headers): Likewise.
      	* reg-stack.c: Update comment.
      	* stmt.c: Likewise.
      	* rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
      	JUMP_AFTER_REGSCAN): Kill.
      	* toplev.c (rest_of_compilation): Use cleanup_cfg, call
      	purge_line_number_notes and copy_loop_headers.
      
      From-SVN: r44245
      Jan Hubicka committed
    • dbxout.c (dbxout_global_decl): New. · 3914abb4
      	* dbxout.c (dbxout_global_decl): New.
      	(xcoff_debug_hooks, dbx_debug_hooks): Use it.
      	* sdbout.c (sdbout_finish): New.
      	(sdbout_debug_hooks): Use it, add comments.
      	(sdbout_global_decl): Defer initialised public vars to
      	sdbout_finish.
      	* varasm.c (assemble_variable): Don't output debug information
      	for file-scope variables.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r44243
      Neil Booth committed
    • alpha.c (get_trap_mode_suffix): New. · be7560ea
              * config/alpha/alpha.c (get_trap_mode_suffix): New.
              (get_round_mode_suffix): New.
              (print_operand): Use them for [/].  Remove support for [&'`()+].
              * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
              * config/alpha/alpha.md (attr round_suffix): New.
              (attr trap_suffix): New.
              (all insns): Set them appropriately.  Use %/ instead of the
              myriad punctuators.
      
      From-SVN: r44242
      Richard Henderson committed
    • ieee.exp: Only use -ffloat-store only on i[34567]86-*-*. · e5d4fff4
      	2001-07-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
      
      	* gcc.c-torture/execute/ieee/ieee.exp: Only use -ffloat-store only on
      	i[34567]86-*-*.
      	Delete handling of ieee_multilib_flags.
      	Pass -mieee for alpha*-*-* and sh-*-*.
      	* gcc.c-torture/execute/20010114-2.c: Move into ieee subdir.
      
      From-SVN: r44238
      Franz Sirl committed
    • * dbxout.c, sdbout.c, varasm.c: Revert most recent patch. · 65ecca65
      From-SVN: r44237
      Neil Booth committed
    • Daily bump. · 665e3293
      From-SVN: r44236
      GCC Administrator committed
    • regrename.c (regrename_optimize): Compute nregs for each potential target register. · 4e812700
              * regrename.c (regrename_optimize): Compute nregs for each
              potential target register.
      
      From-SVN: r44234
      Richard Henderson committed
  3. 21 Jul, 2001 11 commits
    • dbxout.c (dbxout_global_decl): New. · f7e10587
      	* dbxout.c (dbxout_global_decl): New.
      	(xcoff_debug_hooks, dbx_debug_hooks): Use it.
      	* sdbout.c (sdbout_finish): New.
      	(sdbout_debug_hooks): Use it, add comments.
      	(sdbout_global_decl): Defer initialised public vars to
      	sdbout_finish.
      	* varasm.c (assemble_variable): Don't output debug information
      	for file-scope variables.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r44232
      Neil Booth committed
    • mips.c (mips_cpu): Moved into ... · 919b1aec
      2001-07-21  H.J. Lu  (hjl@gnu.org)
      
      	* config/mips/mips.c (mips_cpu): Moved into ...
      	(override_options): Here.
      
      	* config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
      	mips_tune.
      	(mips_cpu): Removed.
      
      From-SVN: r44231
      H.J. Lu committed
    • m68hc11.md ("andqi3"): Accept d as second operand. · 0477256c
      	* config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
      	("iorqi3"): Likewise.
      	("xorqi3"): Likewise.
      	("*addhi3"): Fix constraint to avoid reloading in a soft register.
      	("*subhi3_sp): Likewise.
      	("*subhi3"): Likewise.
      	("extendhisi2"): Accept D, X and Y as source operand to avoid
      	reload problems.
      
      From-SVN: r44229
      Stephane Carrez committed
    • tm.texi: Remove DEFAULT_VTABLE_THUNKS. · c4372ef4
      gcc:
      	* doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
      	* config/freebsd.h: Likewise.
      	* config/linux.h: Likewise.
      	* config/openbsd.h: Likewise.
      	* config/alpha/linux-elf.h: Likewise.
      	* config/arm/linux-elf.h: Likewise.
      	* config/d30v/d30v.h: Likewise.
      	* config/fr30/fr30.h: Likewise.
      	* config/ia64/aix.h: Likewise.
      	* config/ia64/ia64.h: Likewise.
      	* config/mips/linux.h: Likewise.
      	* config/pj/pj.h: Likewise.
      	* config/rs6000/linux.h: Likewise.
      	* config/sparc/linux.h: Likewise.
      	* config/sparc/linux64.h: Likewise.
      cp:
      	Remove flag_vtable_thunk. It is always on for the 3.0 ABI.
      	* cp-tree.h (CPTI_DELTA2_IDENTIFIER): Remove.
      	(CPTI_INDEX_IDENTIFIER): Remove.
      	(CPT_PFN_OR_DELTA2_IDENTIFIER): Remove.
      	(delta2_identifier): Remove.
      	(index_identifier): Remove.
      	(pfn_or_delta2_identifier): Remove.
      	(flag_vtable_thunks): Remove.
      	(VTABLE_DELTA2_NAME): Remove.
      	(VTABLE_INDEX_NAME): Remove.
      	(FNADDR_FROM_VTABLE_ENTRY): Adjust.
      	(vfunc_ptr_type_node): Adjust.
      	(VTABLE_NAME_PREFIX): Adjust.
      	(build_vfn_ref): Lose first parameter.
      	(fixup_all_virtual_upcast_offsets): Remove.
      	* decl.c (initialize_predefined_identifiers): Remove
      	delta2_identifier, index_identifier, pfn_or_delta2_identifier.
      	(init_decl_processing): Remove no-vtable-thunk code.
      	* decl2.c (flag_vtable_thunks): Remove.
      	(mark_vtable_entries): Remove no-vtable-thunk code.
      	* error.c (dump_decl): Remove no-vtable-thunk code.
      	(dump_expr): Adjust ptr to member function code.
      	* init.c (initialize_vtable_ptrs): Remove no-vtable-thunk
      	code.
      	* rtti.c (build_headof): Remove no-vtable-thunk code.
      	(get_tinfo_decl_dynamic): Adjust build_vfn_ref call.
      	* search.c (get_base_distance): Remove expand_upcast_fixups case.
      	(virtual_context) Remove.
      	(expand_upcast_fixups): Remove.
      	(fixup_virtual_upcast_offsets): Remove.
      	(fixup_all_virtual_upcast_offsets): Remove.
      	* typeck.c (get_member_function_from_ptrfunc): Remove
      	no-vtable-thunk code.
      	* call.c (build_over_call): Adjust call to build_vfn_ref.
      	* class.c (build_vfn_ref): Lose first parameter. Remove
      	no-vtable-thunk code.
      	(build_rtti_vtbl_entries): Remove no-vtable-thunk code.
      	(build_vtable_entry): Remove no-vtable-thunk code.
      
      From-SVN: r44227
      Nathan Sidwell committed
    • Remove old-abi tests. · f4653d92
      	* g++.old-deja/g++.mike/p11116.C: Remove.
      	* g++.old-deja/g++.eh/catchptr1.C: Remove old-abi ifdef.
      
      From-SVN: r44226
      Nathan Sidwell committed
    • Daily bump. · 06dff162
      From-SVN: r44224
      GCC Administrator committed
    • extra casting required by new pointer type · c8b0c191
      From-SVN: r44222
      Bruce Korb committed
    • force unsigned char compares · 90376ae2
      From-SVN: r44219
      Bruce Korb committed
    • incorporate patches from 3.0 branch · 907cb30e
      From-SVN: r44218
      Bruce Korb committed
    • flow.c (try_redirect_by_replacing_jump): Correctly compute which insns to delete… · e9644cfe
      flow.c (try_redirect_by_replacing_jump): Correctly compute which insns to delete in the presence of cc0 in a jump insn.
      
      	* flow.c (try_redirect_by_replacing_jump): Correctly compute which
      	insns to delete in the presence of cc0 in a jump insn.
      
      From-SVN: r44217
      Richard Henderson committed
    • Remove old-abi remnants. · 3461fba7
      	Remove old-abi remnants. Remove comments about old abi
      	behaviour. Remove refences to 'new-abi' in comments.
      	* cp-tree.h: Adjust comments.
      	(vbase_offsets_in_vtable_p): Delete.
      	(vcall_offsets_in_vtable_p): Delete.
      	(vptrs_present_everywhere_p): Delete.
      	(all_overridden_vfuns_in_vtables_p): Delete.
      	(merge_primary_and_secondary_vtables_p): Delete.
      	(TYPE_CONTAINS_VPTR_P): Adjust.
      	(VTT_NAME_PREFIX): Remove.
      	(CTOR_VTBL_NAME_PREFIX): Remove.
      	(init_vbase_pointers): Remove.
      	* class.c: Adjust coments.
      	(build_vbase_pointer_fields): Delete.
      	(build_vbase_pointer): Remove old-abi code.
      	(build_secondary_vtable): Likewise.
      	(modify_all_vtables): Likewise.
      	(create_vtable_ptr): Likewise.
      	(layout_class_type): Likewise.
      	(finish_struct_1): Likewise.
      	(finish_vtbls): Likewise.
      	(dfs_finish_vtbls): Delete.
      	(build_vbase_offset_vtbl_entries): Remove old-abi code.
      	* cvt.c: Adjust comments.
      	* decl.c: Adjust comments.
      	* decl2.c: Adjust comments.
      	* init.c: Adjust comments.
      	(construct_virtual_bases): Remove old-abi code.
      	* lang-specs.h: Remove -fno-new-abi.
      	* mangle.c: Adjust comments.
      	* rtti.c: Adjust comments.
      	(get_base_offset): Remove old-abi-code.
      	* search.c: Adjust comments.
      	(dfs_init_vbase_pointers): Remove.
      	(dfs_vtable_path_unmark): Remove.
      	(init_vbase_pointers): Remove.
      	* semantics.c: Adjust comments.
      	(emit_associated_thunks): Remove old-abi code.
      	* typeck.c: Adjust comments.
      
      From-SVN: r44215
      Nathan Sidwell committed
  4. 20 Jul, 2001 11 commits