summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * doc/sourcebuild.texi (Front End): Add details of morejsm282004-06-101-0/+5
| | | | | | | installation documentation required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82948 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/tree-ssa.texi: Remove references to VDEF and add descriptionsbbooth2004-06-101-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of V_MAY_DEF and V_MUST_DEF. * tree-dfa.c (dfa_stats_d): Add num_v_must_defs and rename num_vdefs to num_v_may_defs. (compute_immediate_uses_for_stmt): Rename occurences of vdef to v_may_def. (redirect_immediate_uses): Ditto. (dump_dfa_stats): Ditto. Also added code to dump num_v_must_defs. (collect_dfa_stats_r): Rename occurences of vdef to v_may_def. Also add code to sum up the number of v_must_defs. (vdefs_disappeared_p): Replace with... (v_may_defs_disappeared_p): This. (v_must_defs_disappeared_p): New function. (mark_new_vars_to_rename): Rename occurences of vdef to v_may_def. Also add code to mark new variables found in V_MUST_DEFs for renameing. * tree-flow.h (stmt_ann_d): Add v_must_def_ops and replace vdef_ops to v_may_def_ops. (get_vdef_ops): Replace with... (get_v_may_def_ops): This. * tree-flow-inline.h (get_vdef_ops): Replace with... (get_v_may_def_ops): This. (get_v_must_def_ops): New function. (get_vdef_result_ptr): Replace with... (get_v_may_def_result_ptr): This. (get_vdef_op_ptr): Ditto with... (get_v_may_def_op_ptr); This. (get_v_must_def_op_ptr): New function. * tree-into-ssa.c (mark_def_sites): Rename occurences of vdef to v_may_def. Also add code to mark statements with V_MUST_DEFs as definition sites. (rewrite_stmt): Rename occurences of vdef to v_may_def. Also add code to register new V_MUST_DEFs made by the statement. * tree-outof-ssa.c (VIRTUAL_PARTITION): Update comments. (check_replaceable): Rename occurences of vdef to v_may_def. Also add check for V_MUST_DEFs. (find_replaceable_in_bb): Ditto. * tree-pretty-print.c (dump_vops): Rename occurences of vdef to v_may_def. Also add code to dump V_MUST_DEFs. * tree-sra.c (mark_all_vdefs): Replace with... (mark_all_v_may_defs): This. (mark_all_v_must_defs): New function. (create_scalar_copies): Replace call to mark_all_vdefs with calls to mark_all_v_may_defs and mark_all_v_must_defs. (scalarize_structures): Rename occurences of vdef to v_may_def. Also add a check for V_MUST_DEFs. (scalarize_modify_expr): Rename occurences of vdef to v_may_def. * tree-ssa-alias.c (global_var): Update comment. (compute_may_aliases): Ditto. (compute_points_to_and_addr_escape): Rename occurences of vdef to v_may_def. Also add code to mark variables in V_MUST_DEF operands as being written to. (group_aliases): Update comment. (maybe_create_global_var): Ditto. * tree-ssa.c (verify_ssa): Rename occurences of vdef to v_may_def. Also add a check for V_MUST_DEFs on GIMPLE registers. (replace_immediate_uses): Rename occurences of vdef to v_may_def. * tree-ssa-ccp.c (visit_stmt): Rename occurences of vdef to v_may_def. Also add code to mark all V_MUST_DEF operands VARYING. (initialize): Ditto. (set_rhs): Rename occurences of vdef to v_may_def. Also add code to update SSA_NAMEs in V_MUST_DEFs. * tree-ssa-copy.c (cprop_into_stmt): Rename occurences of vdef to v_may_def. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Rename occurences of vdef to v_may_def. Also add code to mark statements with V_MUST_DEFs as necessary. (propagate_necessity): Rename occurences of vdef to v_may_def. * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Rename occurences of vdef to v_may_def. Also add code to mark operands in V_MUST_DEFs for renaming. (eliminate_redundant_computations): Rename occurences of vdef to v_may_def. (record_equivalences_from_stmt): Rename occurences of vdef to v_may_def. Also add code to record VUSEs for V_MUST_DEFs. (optimize_stmt): Remove unnesessary variable vdefs. Update comment. (register_definitions_for_stmt): Rename occurences of vdef to v_may_def. Also add code to register definitions made with V_MUST_DEFs. * tree-ssa-dse.c (fix_stmt_vdefs): Replace with... (fix_stmt_v_may_defs): This. (fix_phi_uses): Rename occurences of vdef to v_may_def. (dse_optimize_stmt): Ditto. * tree-ssa-live.c (create_ssa_var_map): Rename occurences of vdef to v_may_def. Also add code to mark V_MUST_DEF operands as being used in virtual operators. * tree-ssa-loop.c (mark_defs_for_rewrite): Rename occurences of vdef to v_may_def. Also add code to mark V_MUST_DEF operands for renaming. * tree-ssa-operands.c (opf_kill_def): New flag for killing definitions. (build_vdefs): Renamed to... (build_v_may_defs): This. (build_v_must_defs): New variable. (voperands_d): Add v_must_def_ops and replace vdef_ops with v_may_def_ops. (append_vdef): Replace with... (append_v_may_def): This. (append_v_must_def): New function. (NUM_FREE): Increment for V_MUST_DEF (optype_freelist): Increment its size for V_MUST_DEF (allocate_vdef_optype): Replace with... (allocate_v_may_def_optype): This. (allocate_v_must_def_optype): New function. (free_vdefs): Replace with... (free_v_may_defs): This. (free_v_must_defs): New function. (remove_vdefs): Replace with... (remove_v_may_defs): This. (remove_v_must_defs): New function. (init_ssa_operands): Rename occurences of vdef to v_may_def. Also add code to initialize build_v_must_defs. (finalize_ssa_vdefs): Replace with... (finalize_ssa_v_may_defs): This. (finalize_ssa_vuses): Rename occurences of vdef to v_may_def. (finalize_ssa_v_must_defs): New function. (finalize_ssa_stmt_operands): Replace call to finalize_ssa_vdefs with calls to finalize_ssa_v_may_defs and finalize_ssa_v_must_defs. (verify_start_operands): Rename occurences of vdef to v_may_def. Also add check for build_v_must_defs. (get_stmt_operands): Rename occurences of vdef to v_may_def. Also add code to handle V_MUST_DEFs and to use opf_kill_def for killing definitions. (get_expr_operands): Update comment and use opf_kill_def for killing definitions. (add_stmt_operand): Replace code that appends VDEFs with code that appends V_MUST_DEFs when opf_kill_def is set and V_MAY_DEFs otherwise. (add_call_clobber_ops): Update comments. * tree-ssa-operands.h (vdef_optype_d): Replace with... (v_may_def_optype_d): This. (v_must_def_optype_d): New structure. (VDEF_OPS): Replace with... (V_MAY_DEF_OPS): This. (STMT_VDEF_OPS): Same with... (STMT_V_MAY_DEF_OPS): This. (NUM_VDEFS): And... (NUM_V_MAY_DEFS): This. (VDEF_RESULT_PTR): As well as... (V_MAY_DEF_RESULT_PTR): This. (VDEF_RESULT): Same goes for... (V_MAY_DEF_RESULT): This. (VDEF_OP_PTR): And... (V_MAY_DEF_OP_PTR): This. (VDEF_OP): And... (V_MAY_DEF_OP): This. (V_MUST_DEF_OPS): New macro. (STMT_V_MUST_DEF_OPS): Ditto. (NUM_V_MUST_DEFS): Ditto. (V_MUST_DEF_OP_PTR): Ditto. (V_MUST_DEF_OP): Ditto. (remove_vdefs): Replace signature with... (remove_v_may_defs): This. (remove_v_must_defs): New function signature. * tree-ssa-pre.c (subst_phis): Replace call to remove_vdefs with calls to remove_v_may_defs and remove_v_must_defs. (process_left_occs_and_kills): Rename occurences of vdef to v_may_def. Also add code that marks left occurences of operands in V_MUST_DEFs. * tree-tailcall.c (find_tail_calls): Rename occurences of vdef to v_may_def. Also add check for V_MUST_DEFs. (eliminate_tail_call):Rename occurences of vdef to v_may_def. testsuite: * gcc.dg/tree-ssa/20031015-1.c: Scan for V_MAY_DEF instead of VDEF. * gcc.dg/tree-ssa/20040517-1.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82947 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-10 Vladimir Makarov <vmakarov@redhat.com>vmakarov2004-06-101-0/+6
| | | | | | | | | PR target/15653 * haifa-sched.c (schedule_block): Finish cycle after issuing asm insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82942 138bc75d-0d04-0410-961f-82ee72b054a4
* PR web/15263reichelt2004-06-101-0/+5
| | | | | | | * doc/install.texi: Remove superfluous linebreak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82940 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (expand_builtin): Fall back to library function call forsayle2004-06-101-0/+8
| | | | | | | | | | conj, conjf, conjl, creal, crealf, creall, cimag, cimagf and cimagl. (fold_builtin_1): Lower built-ins BUILT_IN_CONJ{,F,L} to CONJ_EXPR, BUILT_IN_CREAL{,F,L} to REALPART_EXPR, and BUILT_IN_CIMAG{,F,L} to IMAGPART_EXPR respectively. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82938 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.c (dump_table): New argument start. Changed caller.amylaar2004-06-101-0/+12
| | | | | | | | | | | | | | (fixup_mova): New function. (find_barrier): Use it. (sh_reorg): Likewise. Check for CODE_FOR_casesi_worker_2. If the label a mova refers to is above the mova itself, change the mova into a load. * sh.md (*casesi_worker): Rename to: (casesi_worker_1). (casesi_worker_2): New insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82932 138bc75d-0d04-0410-961f-82ee72b054a4
* fix conflict markersjason2004-06-101-14/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82926 138bc75d-0d04-0410-961f-82ee72b054a4
* * target.h (struct gcc_target): Change gimplify_va_arg_exprjason2004-06-101-0/+28
| | | | | | | | | | | | | | | | | hook signature. * tree-gimple.h: Adjust. * config/alpha/alpha.c (alpha_gimplify_va_arg): Adjust. * config/i386/i386.c (ix86_gimplify_va_arg): Adjust. Use fold_convert. * config/ia64/ia64.c (ia64_gimplify_va_arg): Adjust. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust. Use COMPLEX_EXPR for complex numbers. Use fold_convert. * builtins.c (std_gimplify_va_arg_expr): Adjust. Use fold_convert. (gimplify_va_arg_expr): Return GS_ERROR in error case. Gimplify valist rather than calling stabilize_va_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82925 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (df.o): Remove fibheap dependency.rakdver2004-06-101-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * df.h: Do not include sbitmap.h. (struct ref): New field "data". (DF_REF_DATA): New accessor macro. (struct df): Field "dom" removed. (df_analyze_subcfg): New function. (transfer_function_sbitmap, transfer_function_bitmap): Replaced by ... (transfer_function): ... new type. (iterative_dataflow_sbitmap, iterative_dataflow_bitmap): Replaced by ... (iterative_dataflow): ... new function. (enum set_representation, struct dataflow): New. * df.c: Do not include fibheap.h. (df_reg_def_chain_clean, df_reg_use_chain_clean, (df_bb_table_realloc, df_analyse_subcfg, free_reg_ref_chain, prune_to_subcfg, df_bb_modify): New functions. (df_bitmaps_alloc, df_reg_def_chain_create, df_reg_use_chain_create, df_refs_update, df_reg_table_realloc, df_ref_create, df_bb_reg_def_chain_create, df_bb_reg_use_chain_create, df_bb_rd_local_compute, df_bb_ru_local_compute, df_bb_lr_local_compute, df_analyse_1, df_insn_modify): Support analysing only a part of the cfg. (dataflow_set_a_op_b, dataflow_set_copy): New functions. (df_rd_transfer_function, df_ru_transfer_function, df_lr_transfer_function): Type of bitmaps changed to void *. (hybrid_search_bitmap, hybrid_search_sbitmap): Merge into ... (hybrid_search): ... new function. (iterative_dataflow_bitmap, iterative_dataflow_sbitmap): Merge into ... (iterative_dataflow): ... new function. Avoid use of fibheaps for a worklist. Do not process basic blocks unnecessarily. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82921 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_abs_const): Make extern.sayle2004-06-101-0/+13
| | | | | | | | | | | | | | | * tree.h (fold_abs_const): Prototype here. * builtins.c (fold_builtin_fabs): New function to transform fabs, fabsf and fabsl builtins into ABS_EXPR tree nodes. (fold_builtin_abs): New function to transform abs, labs, llabs and imaxabs builtins into ABS_EXPR tree nodes. (expand_builtin): Fall back to a function call for abs, labs, llabs and imaxabs builtins that survive constant folding. (fold_builtin_1): Call fold_builtin_fabs for FABS, FABSF and FABSL, and fold_builtin_abs for ABS, LABS, LLABS and IMAXABS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82916 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (uw_frame_state_for): Don't assume ajakub2004-06-101-0/+5
| | | | | | | leaf function without unwind info at RP 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82906 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops.jakub2004-06-101-3/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82903 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14791jakub2004-06-101-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.h (enum tree_index): Add TI_FILEPTR_TYPE. (fileptr_type_node): Define. * tree.c (build_common_tree_nodes_2): Initialize fileptr_type_node to ptr_type_node. * c-common.c (c_common_nodes_and_builtins): For C++, make fileptr_type_node a distinct type copy. * builtin-types.def (BT_FILEPTR, BT_FN_INT_CONST_STRING_FILEPTR, BT_FN_INT_INT_FILEPTR, BT_FN_INT_FILEPTR_CONST_STRING_VALIST_ARG, BT_FN_SIZE_CONST_PTR_SIZE_SIZE_FILEPTR, BT_FN_INT_FILEPTR_CONST_STRING_VAR): Add. (BT_FN_INT_CONST_STRING_PTR, BT_FN_INT_INT_PTR, BT_FN_SIZE_CONST_PTR_SIZE_SIZE_PTR, BT_FN_INT_PTR_CONST_STRING_VAR, BT_FN_INT_PTR_CONST_STRING_VALIST_ARG): Remove. * builtins.def (BUILT_IN_FPRINTF, BUILT_IN_FPRINTF_UNLOCKED, BUILT_IN_FPUTC, BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS, BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FSCANF, BUILT_IN_FWRITE, BUILT_IN_FWRITE_UNLOCKED, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): Use the above *FILEPTR* types instead of *PTR*. * decl.c (duplicate_decls): Handle fileptr_type_node arguments specially. * g++.dg/opt/builtins1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82902 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos.jakub2004-06-101-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82887 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Daniel Berlin <dberlin@dberlin.org>dberlin2004-06-101-0/+5
| | | | | | | | * tree-ssa.c (verify_ssa): Verify that vdefs/makes_aliased_stores match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82883 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_not_const): New function.sayle2004-06-101-0/+7
| | | | | | | | | (fold) <ABS_EXPR>: Don't bother testing wins. (fold) <BIT_NOT_EXPR>: Call fold_not_const. (nondestructive_fold_unary_to_constant) <BIT_NOT_EXPR>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82868 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/15228rth2004-06-091-0/+6
| | | | | | | | * function.c (assign_parms): Always set_mem_align with the computed FUNCTION_ARG_BOUNDARY. Don't clear stack_parm if !STRICT_ALIGNMENT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82867 138bc75d-0d04-0410-961f-82ee72b054a4
* PR opt/15108rth2004-06-091-0/+6
| | | | | | | | * tree-tailcall.c (find_tail_calls): Don't check early for tail_recursion failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82866 138bc75d-0d04-0410-961f-82ee72b054a4
* Move SSA_NAME annotations into tree_ssa_name.dnovillo2004-06-091-0/+17
| | | | | | | | | | | | | | | | | | * tree-dfa.c (create_ssa_name_ann): Remove. * tree-flow-inline.h (ssa_name_ann, get_ssa_name_ann): Remove. * tree-flow.h (enum tree_ann_type): Remove SSA_NAME_ANN. (struct ssa_name_ann_d): Remove. (union tree_ann_d): Update. (ssa_name_ann_t): Remove. * tree-ssa-alias.c: (get_ptr_info): New local function. Replace references to ssa_name_ann_t with struct ptr_info_def. * tree-ssa-operands.c (get_expr_operands): Likewise. * tree.h (SSA_NAME_PTR_INFO): Define. (struct ptr_info_def): Declare. (struct tree_ssa_name): Add field 'ptr_info'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82864 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/winnt.c (i386_pe_output_labelref): Correctdannysmith2004-06-091-1/+1
| | | | | | | misplaced ')'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82862 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/winnt.c (i386_pe_output_labelref); Correctdannysmith2004-06-091-0/+5
| | | | | | | misplaced ')'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82860 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/k6.md: Rewrite using the DFA model.steven2004-06-091-9/+17
| | | | | | | | | | * config/i386/i386.c (ix86_adjust_cost): Don't increase the cost of load-operation insns for the K6. (ia32_use_dfa_pipeline_interface): Add TARGET_K6. (ia32_multipass_dfa_lookahead): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82859 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c (alpha_gimplify_va_arg_1,rth2004-06-091-0/+5
| | | | | | | alpha_gimplify_va_arg, TARGET_GIMPLIFY_VA_ARG_EXPR): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82858 138bc75d-0d04-0410-961f-82ee72b054a4
* * expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE.rth2004-06-091-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82854 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: gcc/ChangeLoggeoffk2004-06-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-09 Geoffrey Keating <geoffk@apple.com> * Makefile.in (CPPLIB_H): Put files in order of inclusion. (CPP_ID_DATA_H): New. (gtype-desc.o): Update dependencies. (GTFILES): Use CPP_ID_DATA_H. Index: gcc/testsuite/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/macro-4.c: New. * gcc.dg/pch/macro-4.hs: New. Index: libcpp/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * traditional.c (push_replacement_text): Set macro->traditional. (save_replacement_text): Likewise. * pch.c (cpp_write_pch_state): Don't write list of defined macros. (struct save_macro_item): Delete. (struct save_macro_data): Use a character array not the previous structured format. (save_macros): Save macro as text not as internal structures. (cpp_prepare_state): Update for changes to save_macro_data. (cpp_read_state): Don't read macros defined in PCH. Restore -D macros as text. * macro.c (create_iso_definition): Honour alloc_subobject. Clear traditional flag. (_cpp_create_definition): Honour alloc_subobject. * lex.c (cpp_token_val_index): New. * internal.h: Include cpp-id-data.h. (uchar): Move definition to cpp-id-data.h. (U): Likewise. (cpp_macro): Likewise. * directives.c (struct answer): Move to cpp-id-data.h. (do_assert): Honour alloc_subobject. Index: libcpp/include/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * symtab.h (struct ht): Add field 'alloc_subobject'. * cpplib.h (struct cpp_string): Add GTY marker. (enum cpp_token_fld_kind): New. (struct cpp_token): Add GTY markers. (cpp_token_val_index): Prototype. (CPP_HASHNODE_VALUE_IDX): New. (struct cpp_hashnode): Don't skip fields of 'value' when marking. * cpp-id-data.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82851 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert:mmitchel2004-06-091-0/+8
| | | | | | | | | | | | | | | | PR c++/15815 2004-06-07 Mark Mitchell <mark@codesourcery.com> * doc/extend.texi: Deprecate #pragma interface and #pragma implementation. Revert: PR c++/15815 2004-06-07 Mark Mitchell <mark@codesourcery.com> * lex.c (handle_pragma_interface): Deprecate. (handle_pragma_implementation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82847 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 David S. Miller <davem@nuts.davemloft.net>davem2004-06-091-0/+4
| | | | | | | * config/sparc/sparc.h (MOVE_RATIO): New definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82844 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h (struct edge_def): Add goto_locus.rth2004-06-091-0/+7
| | | | | | | | | * tree-cfg.c (make_goto_expr_edges): Set it. (disband_implicit_edges): Use it. * tree-pretty-print.c (dump_implicit_edges): Print it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82842 138bc75d-0d04-0410-961f-82ee72b054a4
* * h8300.md (ldm_h8300s_4): Fix condition for expander.law2004-06-091-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82841 138bc75d-0d04-0410-961f-82ee72b054a4
* Gimplify VA_ARG_EXPR into simpler forms.jason2004-06-091-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * target.h: Add gimplify_va_arg_expr hook. * target-def.h: Add TARGET_GIMPLIFY_VA_ARG_EXPR. * fold-const.c (build_fold_addr_expr) (build_fold_addr_expr_with_type): Move from gimplify.c. * tree.h: Declare them. * gimplify.c (gimplify_and_add): New fn. (build_addr_expr, build_addr_expr_with_type): Move to fold-const.c. (gimplify_array_ref_to_plus, gimplify_modify_expr) (gimplify_expr): Use build_fold_*. (copy_if_shared_r): Only mark VA_ARG_EXPR volatile if we don't know how to gimplify it. * builtins.c (std_gimplify_va_arg_expr): New fn. (dummy_object): New static fn. (gimplify_va_arg_expr): New fn. (stabilize_va_list): Use build_fold_*. * tree-gimple.h: Declare new fns. * config/i386/i386.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. (ix86_gimplify_va_arg): New fn. * config/i386/ia64.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. (ia64_gimplify_va_arg): New fn. * config/i386/rs6000.c (rs6000_gimplify_va_arg): New fn. (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. * config/i386/sparc.c (sparc_gimplify_va_arg): New fn. * alias.c (get_varargs_alias_set): Just return 0 for now. * c-objc-common.c (c_tree_printer): Improve handling of %T. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82838 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-091-0/+11
| | | | | | | | | | | | | | * tree-complex.c (expand_complex_comparison): Use fold_convert instead of convert. * tree-inline.c (setup_one_parameter): Likewise. * tree-sra.c (csc_build_component_ref): Likewise. * tree-ssa-ccp.c (ccp_fold): Likewise. * tree-ssa-copy.c (cprop_operand): Likewise. * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82837 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/15521:amylaar2004-06-091-0/+12
| | | | | | | | | | | | | | * sched-int.h (in_post_call_group_p): Change type to enum. * sched-deps.c (sched_analyze_insn): (sched_analyze): When in_post_call_group_p is post_call_initial, don't add a dependency, but still set SCHED_GROUP_P and CANT_MOVE, and also reset in_post_call_group_p to post_call. (sched_analyze): When the previous basic block ended in a CALL_INSN, initialize in_post_call_group_p as post_call_initial. (init_deps): initialize in_post_call_group_p to not_post_call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82831 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/6637charlet2004-06-091-0/+5
| | | | | | | * doc/install.texi: List ada, libada as options to --enable-shared git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82818 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Paolo Bonzini <bonzini@gnu.org>bonzini2004-06-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.tpl (touch-stage[+id+]): New. (restage[+prev+]): Depend on touch-stage[+id+]. * Makefile.tpl (RECURSE_FLAGS_TO_PASS): New. Use it throughout. * Makefile.def: Add profile and feedback bootstrap stages. Remove next field from bootstrap stages. * Makefile.tpl (LN, LN_S): Substitute. (stageN-start, stageN-end): Use double-colon rules, to provide a hook for additional setup commands. (distclean-stageN-gcc, restageN): Create dependencies from [+prev+], not from [+next+]. (stageN-bubble): Add commands for successive stages from [+prev+], using double-colon rules. (all-stageN-gcc): Fix typo. (stagefeedback-start, profiledbootstrap): New. * Makefile.in: Regenerate. * configure.in: Call ACX_PROG_LN. * configure: Regenerate. config/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_LN): From gcc, modified to accept a parameter. gcc/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4 (gcc_AC_PROG_LN): Remove. (gcc_AC_CHECK_DECLS): Use AH_TEMPLATE to generate config.in entries. * configure.ac: Call ACX_PROG_LN, falling back to $LN_S if hard links are not available. * configure: Regenerate. * config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82816 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION.bothner2004-06-091-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82809 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (floor_log2_wide): Correct casts for 64-bit hosts.dj2004-06-091-0/+5
| | | | | | | Correct formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82798 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/15790wilson2004-06-081-0/+5
| | | | | | | * config/i386/i386-coff.h (ASM_OUTPUT_ALIGN): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82796 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-081-0/+5
| | | | | | | | * fold-const.c (fold_convert): Treat OFFSET_TYPE like POINTER_TYPE and INTEGER_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82792 138bc75d-0d04-0410-961f-82ee72b054a4
* * modulo-sched.c: Compile only when INSN_SCHEDULING isbernie2004-06-081-0/+5
| | | | | | | defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82791 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/contrib.texi: Add entries for Stefan Olsson andlaw2004-06-081-0/+5
| | | | | | | Ola Ronnerup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82781 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (floor_log2_wide): Replace loop with faster bitdj2004-06-081-0/+8
| | | | | | | | | | operations. (exact_log2_wide): Define in terms of the above. * toplev.h (floor_log2): Use _builtin_clz family of builtins if available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82778 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-081-0/+6
| | | | | | | | | * config/rs6000/rs6000.c (print_operand, <case 'z'>): Make sure that we are in INDIRECT mode when getting the stub name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82777 138bc75d-0d04-0410-961f-82ee72b054a4
* * h8300.md (extendqisi2_h8300): Add constraints.law2004-06-081-0/+5
| | | | | | | (ldm_h8300s_4_normal): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82769 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimple-low.c (struct lower_data): Replace the_return_label andrth2004-06-081-0/+10
| | | | | | | | | | | | one_return_stmt with return_statements. (lower_function_body): Process the entire list of return_statements. (lower_return_expr): Check source value before unifying return_exprs. * gimplify.c (gimplify_return_expr): Force the use of a temporary for !aggregate_value_p. * tree-gimple.c: Update RETURN_EXPR grammer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82768 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-08 Vladimir Makarov <vmakarov@redhat.com>vmakarov2004-06-081-0/+5
| | | | | | | | PR target/15598 * config/ia64/ia64.c (bundling): Add missed TYPE_A. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82767 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/15717rakdver2004-06-081-0/+6
| | | | | | | | * config/i386/i386.c (legitimate_constant_p): Do not allow x - symbol_ref. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82755 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimplify.c (copy_if_shared_r): Revert:aoliva2004-06-081-0/+6
| | | | | | | | 2004-05-21 Richard Henderson <rth@redhat.com> * gimplify.c [...] Don't mark VA_ARG_EXPRs volatile here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82745 138bc75d-0d04-0410-961f-82ee72b054a4
* * expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap):sayle2004-06-081-0/+11
| | | | | | | | | | | | | Make arrays indexed by machine mode. Rename negate_cost to neg_cost. (init_expmed): Initialize these cost arrays as appropriate. (store_bit_field, extract_bit_field): Correct whitespace. (synth_mult, choose_mult_variant, expand_mult, expand_mult_highpart, expand_mult_highpart_optab, expand_divmod): Update uses of add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap to index with mode, word_mode or compute_mode as appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82743 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/15783ebotcazou2004-06-071-0/+10
| | | | | | | | | | * config/sparc/sparc.c (function_arg_union_value): Add 'mode' parameter. Enumerate the registers inside the PARALLEL. (function_arg): Adjust call to function_arg_union_value. (function_value): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82722 138bc75d-0d04-0410-961f-82ee72b054a4
* * real.c (real_copysign): New function to implement libm's copysign.sayle2004-06-071-0/+15
| | | | | | | | | | | | | | | | | | | | * real.h (real_copysign): Prototype here. * fold-const.c (tree_expr_nonnegative_p): The result of sqrt, sqrtf and sqrtl can be negative, as sqrt(-0.0) = -0.0. Correct whitespace. * builtins.c (fold_builtin_isascii, fold_builtin_toascii, fold_builtin_isdigit): Add function prototypes. (fold_builtin_copysign): New function to fold copysign, copysignf and copysignl. Optimize copysign(x,x) as x. Evaluate copysign of constant arguments at compile-time using real_copysign. Fold copysign(X,Y) as fabs(X) if Y is always non-negative. (fold_builtin_1): Correct minor whitespace/style issues. Call fold_builtin_copysign for BUILT_IN_COPYSIGN{,F,L}. * gcc.dg/builtins-41.c: New test case. * gcc.dg/builtins-42.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82721 138bc75d-0d04-0410-961f-82ee72b054a4