- 23 Jul, 2001 7 commits
-
-
From-SVN: r44258
GCC Administrator committed -
* flow.c: Grammar check and clarify a lot of comments. (try_simplify_condjump): Rename variables to be clearer. (try_forward_edges): Skip complex and fallthru edges. Rearrange tests to avoid duplicate checks. (flow_find_cross_jump): Likewise. (outgoing_edges_match): Allow match if neither branch has probability data. Loosen probability match to 5%. (try_crossjump_to_edge): Hoist repeated indirection into local variables. (try_crossjump_bb): Don't check complex edges. Eliminate redundant crossjump tests. (try_optimize_cfg): Fix use of bool. Reorganize cheaper checks before more expensive checks. From-SVN: r44257
Richard Henderson committed -
* cp/class.c (type_requires_array_cookie): Fix use of uninitialised variable has_two_argument_delete_p. From-SVN: r44256
Graham Stott committed -
* fold-const.c (fold): Test vs FLOAT_TYPE_P instead of INTEGRAL_TYPE_P when folding comparisons with operand_equal_p arguments. From-SVN: r44255
Richard Henderson committed -
2001-07-23 Ben Elliston <bje@redhat.com> * g++.old-deja/g++.other/enum5.C: Mark as XFAIL. From-SVN: r44253
Ben Elliston committed -
* m68k.c (const_uint32_operand): Abort if mode is <= 32 bits. (const_sint32_operand): Likewise. * m68k.md (anon mulsi pattern): Use const_int_operand not const_sint32_operand. (umulsi3_highpart): Zero extend a constant input. (smulsi3_highpart): Don't bother checking SImode constant. (const_umulsi3_highpart): Give op3 DImode. (const_smulsi3_highpart): Likewise. From-SVN: r44252
Richard Henderson committed -
* configure.host: Enable hash synchronization for alpha*-*. * include/posix-threads.h (_Jv_ThreadSelf): Added inline function for alpha. * java/lang/natObject.cc (compare_and_swap, release_set, compare_and_swap_release): Added inline functions for alpha. From-SVN: r44251
Jeff Sturm committed
-
- 22 Jul, 2001 11 commits
-
-
* 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, 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. (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 -
* 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. (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. (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 -
* 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 -
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 -
From-SVN: r44237
Neil Booth committed -
From-SVN: r44236
GCC Administrator committed -
* regrename.c (regrename_optimize): Compute nregs for each potential target register. From-SVN: r44234
Richard Henderson committed
-
- 21 Jul, 2001 11 commits
-
-
* 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 -
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 -
* 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 -
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 -
* 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 -
From-SVN: r44224
GCC Administrator committed -
From-SVN: r44222
Bruce Korb committed -
From-SVN: r44219
Bruce Korb committed -
From-SVN: r44218
Bruce Korb committed -
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. 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
-
- 20 Jul, 2001 11 commits
-
-
From-SVN: r44214
Richard Henderson committed -
From-SVN: r44213
Jan Hubicka committed -
* m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead of doing the change by hand. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r44212
Roman Zippel committed -
* expr.c (emit_single_push_insn): Add call to push expander. * expr.h (optab_index): Add OTI_push (push_optab): New constant. * genopinit.c (optabs): Add push_optab. * optabs.c (init_optab): Init push optab. * md.texi (push??1): Document From-SVN: r44211
Jan Hubicka committed -
* rtlanal.c (set_noop_p): Return true for noop jumps. * expr.c (emit_single_push_insn): Add call to push expander. * expr.h (optab_index): Add OTI_push (push_optab): New constant. * genopinit.c (optabs): Add push_optab. * optabs.c (init_optab): Init push optab. * md.texi (push??1): Document From-SVN: r44210
Jan Hubicka committed -
m68hc11.md ("movdi", [...]): Use an expand to emit the pattern; put a REG_INC note for push/pop instructions. * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an expand to emit the pattern; put a REG_INC note for push/pop instructions. ("movdf", "movdf_internal"): Likewise. ("movsi", "movsi_internal"): Likewise. ("movsf", "movsf_internal"): Likewise. ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions. From-SVN: r44208
Stephane Carrez committed -
* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use gen_highpart. From-SVN: r44206
Stephane Carrez committed -
2001-07-20 Daniel Berlin <dan@cgsoftware.com> * Make-lang.in (cp/optimize.o): Depend on $(PARAMS_H), not params.h. 2001-07-20 Daniel Berlin <dan@cgsoftware.com> * params.def: Change default max inline insns to 100. From-SVN: r44203
Daniel Berlin committed -
combine.c (combine_simplify_rtx): Generate a new shift operation when simplifying the first operand of a (neg... * combine.c (combine_simplify_rtx): Generate a new shift operation when simplifying the first operand of a (neg (ashift)) expression. From-SVN: r44202
Diego Novillo committed -
From-SVN: r44201
Richard Henderson committed -
* doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug information. Move rest into ... (*-*-solaris): ... here. Eliminate redundant information and reword necessary packages section. Delete 4.x assembler bug info. (sparc-sun-*): Merge into ... (sparc-sun-sunos*): here. From-SVN: r44198
Kelley Cook committed
-