- 10 Jul, 2001 23 commits
-
-
* config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use adjust_address_nv instead of plus_constant. From-SVN: r43909
Richard Kenner committed -
* Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o, dwarf2out.o): Depend on debug.h, wrap long lines. * dbxout.c: Include debug.h. (dbx_debug_hooks): New. (dbxout_init): Make static, take just 2 args. (dbxout_finish): Make static. * dbxout.h (dbxout_init, dbxout_finish): Delete. * debug.c: New file. * debug.h: New file. * dwarf2out.c: Include debug.h. (dwarf2_debug_hooks): New. (dwarf2out_init): Make static. (dwarf2out_finish): Make static, take 2 args. * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete. * dwarfout.c: Include debug.h. (dwarf_debug_hooks): New. (dwarfout_init): Make static. (dwarfout_finish): Make static, take 2 args. * dwarfout.h (dwarfout_init, dwarfout_finish): Delete. * sdbout.c: Include debug.h. (sdb_debug_hooks): New. (sdbout_init): Make static, take 2 args. * sdbout.h (sdbout_init): Delete. * toplev.c: Include debug.h. (debug_hooks): New. (compile_file): Set deubg_hooks based on command line options. Use the hooks unconditionally rather than conditional compilation. From-SVN: r43908
Neil Booth committed -
From-SVN: r43907
Neil Booth committed -
* ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to first_insn_after_basic_block_note instead. * df.c (df_bb_refs_unlink): #if 0 out for now. * ssa.h: Add prototype for ssa_const_prop * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison (ssa_fast_dce): Remove unused variable From-SVN: r43906
Jeffrey A Law committed -
* diagnostic.c (finish_diagnostic): Rename to diagnostic_finish. Make it take an 'output_buffer *'. Adjust calls thourghout. From-SVN: r43905
Gabriel Dos Reis committed -
* dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have .loc support. From-SVN: r43904
Jason Merrill committed -
* collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses. (dump_file): Only pad the demangled name with spaces if the mangled name was padded with spaces. From-SVN: r43903
Jason Merrill committed -
From-SVN: r43902
Bernd Schmidt committed -
* lib/g++-dg.exp: Load file-format and target-supports like gcc. (g++-dg-prune): Call prune_gcc_output. * prune.exp: New file for prune_gcc_output. * lib/g++.exp, lib/gcc.exp: Load it. From-SVN: r43901
Jason Merrill committed -
* semantics.c (cp_expand_stmt): Fix for null current_function_return_value. From-SVN: r43900
Jason Merrill committed -
* acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f. * aclocal.m4: Regenerate. * configure: Same. From-SVN: r43898
Gabriel Dos Reis committed -
* expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield extraction if no direct load if either EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. From-SVN: r43897
Richard Kenner committed -
emit-rtl.c (adjust_address, [...]): Change criteria for whether can put offset inside LO_SUM to check mode alignment... * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for whether can put offset inside LO_SUM to check mode alignment, not size. From-SVN: r43896
Richard Kenner committed -
From-SVN: r43895
Gabriel Dos Reis committed -
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * regmove.c (replace_in_call_usage): Fix warnings. * sched-deps.c (add_dependence): Fix warnings. * simplify-rtx.c (simplify_subreg): Likewise. Return NULL_RTX instead of NULL. * reg-stack.c (emit_swap_insn): Eliminate warnings. (subst_asm_stack_regs): Likewise. * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid warnings. * dwarf2out.c (output_call_frame_info): Declare i as int. (build_abbrev_table): Declare n_alloc as int. (dwarf2out_finish): Initialize die. * except.c: Declare sjlj_funcdef_number as unsigned. (connect_post_landing_pads): Declare j as unsigned. (convert_to_eh_region_ranges): Initialize call_site. (output_function_exception_table): Initialize tt_format_size. * expr.c (move_by_pieces_1): Initialize to1. (store_constructor): Initialize minelt and maxelt. * flow.c (mark_regs_live_at_end): Declare i as unsigned. * function.c (instantiate_decls): Avoid signed/unsigned warning. * c-decl.c (combine_parm_decls): Unused, remove. * c-tree.h: Remove prototype for combine_parm_decls. * reload.c (push_reload): Fix warning. (regno_clobbered_p): Likewise. * reload1.c (replace_pseudos_in_call_usage): Likewise. (reload_combine): Likewise. * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings. * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix warnings. * bitmap.c (bitmap_operation): Change user. * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. For cp/: 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * call.c (build_op_delete_call): Initialize fn. (convert_like_real): Delete conditional. (joust): Initialize *w and *l. * class.c: Add prototype for binfo_ctor_vtable. (get_primary_binfo): Initialize result. * init.c (build_java_class_ref): Initialize name. * typeck.c (unary_complex_lvalue): Do not duplicate the argument to modify, pre-, or post-increment when used as an lvalue and when the argument has side-effects. For ch/: 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * ch-tree.h: Remove prototype for combine_parm_decls, unused function. From-SVN: r43894
Jan van Male committed -
2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * regmove.c (replace_in_call_usage): Fix warnings. * sched-deps.c (add_dependence): Fix warnings. * simplify-rtx.c (simplify_subreg): Likewise. Return NULL_RTX instead of NULL. * reg-stack.c (emit_swap_insn): Eliminate warnings. (subst_asm_stack_regs): Likewise. * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid warnings. * dwarf2out.c (output_call_frame_info): Declare i as int. (build_abbrev_table): Declare n_alloc as int. (dwarf2out_finish): Initialize die. * except.c: Declare sjlj_funcdef_number as unsigned. (connect_post_landing_pads): Declare j as unsigned. (convert_to_eh_region_ranges): Initialize call_site. (output_function_exception_table): Initialize tt_format_size. * expr.c (move_by_pieces_1): Initialize to1. (store_constructor): Initialize minelt and maxelt. * flow.c (mark_regs_live_at_end): Declare i as unsigned. * function.c (instantiate_decls): Avoid signed/unsigned warning. * c-decl.c (combine_parm_decls): Unused, remove. * c-tree.h: Remove prototype for combine_parm_decls. * reload.c (push_reload): Fix warning. (regno_clobbered_p): Likewise. * reload1.c (replace_pseudos_in_call_usage): Likewise. (reload_combine): Likewise. * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings. * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix warnings. * bitmap.c (bitmap_operation): Change user. * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. For cp/: 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * call.c (build_op_delete_call): Initialize fn. (convert_like_real): Delete conditional. (joust): Initialize *w and *l. * class.c: Add prototype for binfo_ctor_vtable. (get_primary_binfo): Initialize result. * init.c (build_java_class_ref): Initialize name. * typeck.c (unary_complex_lvalue): Do not duplicate the argument to modify, pre-, or post-increment when used as an lvalue and when the argument has side-effects. For ch/: 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * ch-tree.h: Remove prototype for combine_parm_decls, unused function. From-SVN: r43893
Jan van Male committed -
2001-07-10 James Smaby <jsmaby@virgo.umeche.maine.edu> * intdoc.in: Fix the definition of COMPLEX ABS. Remove `the' where inappropriate. * intdoc.texi: Rebuilt. From-SVN: r43892
James Smaby committed -
2001-07-10 Eric Christopher <echristo@redhat.com> * config/mips/mips.c (override_options): Fix typo. From-SVN: r43891
Eric Christopher committed -
From-SVN: r43890
GCC Administrator committed -
* target.h (struct gcc_target): New fields init_builtins and expand_builtin. * target-def.h (TARGET_INIT_BUILTINS): New macro. (TARGET_EXPAND_BUILTIN): New macro. (TARGET_INITIALIZER): Add them. * builtins.c: Include target.h. (expand_builtin): Use targetm.expand_builtin. (default_init_builtins): New function. (default_expand_builtin): New function. * expr.h (default_init_builtins): Declare. (default_expand_builtin): Declare. * c-common.c (c_common_nodes_and_builtins): Use targetm.init_builtins. * defaults.h (MD_INIT_BUILTINS): Remove. * Makefile.in (builtins.o): Depend on target.h. * config/arm/arm.c (TARGET_INIT_BUILTINS): Define. (TARGET_EXPAND_BUILTIN): Define. * config/arm/arm.h (MD_INIT_BUILTINS): Remove. (MD_EXPAND_BUILTIN): Remove. * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define. (TARGET_EXPAND_BUILTIN): Define. (c4x_init_builtins): Make endlink arg a local. (c4x_print_operand): Fix typos in adjust_address usages. * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl. * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove. (MD_EXPAND_BUILTIN): Remove. * config/i386/i386.c (TARGET_INIT_BUILTINS): Define. (TARGET_EXPAND_BUILTIN): Define. (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins. (ix86_init_builtins): Call new function only if TARGET_MMX. * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare. * config/i386/i386.h (MD_INIT_BUILTINS): Remove. (MD_EXPAND_BUILTIN): Remove. * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define. (TARGET_EXPAND_BUILTIN): Define. * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove. (MD_EXPAND_BUILTIN): Remove. * doc/tm.texi: Document these changes. From-SVN: r43888
Stan Shebs committed -
From-SVN: r43887
Neil Booth committed -
2001-07-09 Diego Novillo <dnovillo@redhat.com> * basic-block.h (tree_node): Forward declare if needed. (struct basic_block_def): Add fields 'head_tree' and 'end_tree'. (BLOCK_HEAD_TREE): Define. (BLOCK_END_TREE): Define. (struct loops): Rename field 'tree' to 'tree_root'. * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and 'end_tree'. (flow_loops_tree_build): Rename reference to field 'tree' to 'tree_root'. (flow_loops_level_compute): Ditto. * predict.c (estimate_bb_frequencies): Ditto. * tree.h (struct tree_common): Add field 'aux'. From-SVN: r43886
Diego Novillo committed -
* config/darwin.c (darwin_encode_section_info): Don't mark any DECL_EXTERNAL node as defined. From-SVN: r43885
Stan Shebs committed
-
- 09 Jul, 2001 17 commits
-
-
* typeck.c (unary_complex_lvalue): Do not duplicate the argument to modify, pre-, or post-increment when used as an lvalue and when the argument has side-effects. From-SVN: r43884
Erik Rozendaal committed -
* pa.c (pa_init_machine_status, pa_mark_machine_status, pa_free_machine_status, hppa_init_pic_save): Delete. (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val. (hppa_profile_hook): Use hppa_pic_save_rtx. * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX, hppa_init_pic_save): Delete. (hppa_pic_save_rtx): Declare. * pa.md (call, call_value, sibcall, sibcall_value, builtin_setjmp_receiver): Use hppa_pic_save_rtx. From-SVN: r43883
John David Anglin committed -
2001-07-09 Kazu Hirata <kazu@hxi.com> * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi. * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise. From-SVN: r43882
Kazu Hirata committed -
2001-07-09 Phil Edwards <pme@sources.redhat.com> * docs/html/configopts.html: Fix thinko. * docs/html/27_io/howto.html: Fix thinko and HTML markup. * include/bits/stl_iterator.h: Fix typo. From-SVN: r43878
Phil Edwards committed -
From-SVN: r43877
Andreas Jaeger committed -
* output.h: Add declaration of final_forward_branch_p. * config/i386/i386.c (output_fix_trunc): Remove unused variable. From-SVN: r43876
Andreas Jaeger committed -
* varray.c: Include errors.h for internal_error and trim_filename declarations. * Makefile.in (varray.o): Add errors.h. From-SVN: r43875
Andreas Jaeger committed -
2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl> * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn. * optabs.c (have_add2_insn): Check whether the add insn chosen really accepts the operands. (have_sub2_insn): Ditto for sub insn. * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn. From-SVN: r43874
Toon Moene committed -
From-SVN: r43873
Jeff Law committed -
* Makefile.in (OBJS): Add ssa-ccp.o (ssa-ccp.o): Add dependencies. * toplev.c (DFI_ssa_ccp): New dump file enum. (dump_file): Add entry for dumping after SSA CCP. (flag_ssa_ccp): New flag variable. (f_options): Add -fssa-ccp. (rest_of_compilation): Run SSA CCP if requested. * timevar.def (TV_SSA_CCP): New timevar. * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes. * doc/gcc.texi (Passes): Add documentation for SSA CCP pass. Fix minor typo in SSA DCE documentation. * doc/invoke.texi: Add documentation for new flag -fssa-ccp. Add documentation for new dump option. Renumber dump files appropriately. * po/POTFILES.in: Add ssa-ccp.c From-SVN: r43872
Jeff Law committed -
* emit-rtl.c (gen_highpart_mode): New. * rtl.h (gen_highpart_mode): Declare. * sparc.md (insn splitters): Use gen_highpart_mode, whenever the operand can be VOIDmode constant. From-SVN: r43869
Jan Hubicka committed -
2001-07-09 Phil Edwards <pme@sources.redhat.com> * docs/html/explanations.html: New file. * docs/html/configopts.html: Link to it to provide more notes on cstdio. Minor markup and spacing fixes. * docs/html/27_io/howto.html: Talk about sync_with_stdio. From-SVN: r43868
Phil Edwards committed -
* flow.c (redirect_edge_and_branch_force): New. (can_fallthru): Ensure that basic blocks are succeeding. (try_optimize_cfg): Do not delete basic block if it is the last one. * flow.c (try_redirect_by_replacing_jump): Do not remove jumps with side effects, unlink chain on fallthru edge; set block for new jump instruction; avoid basic block to over by line number note. * flow.c (try_simplify_condjump): Verify that the condjump is not always falling trought. Re-install patch: * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter. * flow.c (forwarder_block_p): Fix for fallthru blocks. (try_redirect_by_replacing_jump): Update properly the count and frequency information. From-SVN: r43867
Jan Hubicka committed -
* emit-rtl.c (adjust_address, adjust_address_nv): Handle an address that is a LO_SUM specially. * explow.c (plus_constant_wide, case LO_SUM): Deleted. From-SVN: r43866
Richard Kenner committed -
From-SVN: r43865
Richard Kenner committed -
2001-07-03 Andrew Haley <aph@redhat.com> * expmed.c (store_fixed_bit_field): Don't use a mode bigger than the mode of the memory location. From-SVN: r43864
Andrew Haley committed -
* include/bits/valarray_meta.h (_Expr::operator+): Use qualified id for _Expr template template argument. (_Expr::operator-): Likewise. (_Expr::operator~): Likewise. (_Expr::operator!): Likewise. (_DEFINE_EXPR_UNARY_OPERATOR): Likewise. From-SVN: r43862
Kriang Lerdsuwanakij committed
-