OSDN Git Service

PR middle-end/44671
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1081619..857bb1e 100644 (file)
+2010-06-26  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/44671
+       * cgraphunit.c (cgraph_function_versioning): Remove wrong cgraph_make_decl_local
+       call; fix typo copying RTL data.
+
+2010-06-25  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/m32c-protos.h (m32c_note_pragma_address): Declare.
+       (m32c_output_aligned_common): Likewise.
+       * config/m32c/m32c.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
+       (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
+       * config/m32c/m32c-pragma.c (m32c_pragma_address): New.
+       (m32c_register_pragmas): Register it.
+       * config/m32c/m32c.c (m32c_get_pragma_address): New.
+       (m32c_insert_attributes): Set #pragma address decls volatile.
+       (pragma_entry_eq): New.
+       (pragma_entry_hash): New.
+       (m32c_note_pragma_address): New.
+       (m32c_get_pragma_address): New.
+       (m32c_output_aligned_common): New.
+       * doc/extend.texi: Document the new pragma.
+
+       * config/m32c/m32c.c (m32c_illegal_subreg_p): Reject illegal MEMs
+       also.
+       * config/m32c/predicates.md (m32c_any_operand): Check the code
+       instead of memory_operand so as to allow matching volatile MEMs.
+       (m32c_nonimmediate_operand): Likewise.
+       (mra_operand): Allow volatiles.
+
+2010-06-25  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/44610
+       * simplify-rtx.c (delegitimize_mem_from_attrs): Don't use a base
+       address if the offset is unknown.
+
+2010-06-25  Douglas B Rupp  <rupp@gnat.com>
+
+       * dwarf2out.c (dwarf2out_vms_debug_main_pointer): New function.
+       * dwarf2out.h (dwarf2out_vms_debug_main_pointer): Declare new function.
+       * config/ia64/ia64-protos.h (ia64_start_function): Declare.
+       * config/ia64/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Move contents
+       to ia64_start_function. Invoke it.
+       * config/ia64/ia64.c (ia64_start_function): Call new function
+       dwarf2out_vms_debug_main_pointer.
+
+2010-06-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-if-conv.c (insert_gimplified_predicates): Do not insert
+       statements computing the true predicate.
+
+2010-06-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-if-conv.c (init_bb_predicate): Initialize the predicate
+       to boolean_true_node.
+       (reset_bb_predicate): New.
+       (predicate_bbs): Call reset_bb_predicate.
+
+2010-06-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-if-conv.c (combine_blocks): Remove FIXME comment.
+       (tree_if_conversion): Returns true when something has been changed.
+       (main_tree_if_conversion): Return TODO_cleanup_cfg when if-conversion
+       changed something.
+
+2010-06-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * Makefile.in (tree-if-conv.o): Depends on DBGCNT_H.
+       * dbgcnt.def (if_conversion_tree): New DEBUG_COUNTER.
+       * tree-if-conv.c: Include dbgcnt.h.
+       (tree_if_conversion): Use if_conversion_tree to count the number of
+       if-convertible loops.
+
+2010-06-25  Changpeng Fang  <changpeng.fang@amd.com>
+
+       * common.opt (fprefetch-loop-arrays): Re-define
+       -fprefetch-loop-arrays as a tri-state option with the initial
+       value of -1.
+       * tree-ssa-loop.c (gate_tree_ssa_loop_prefetch): Invoke prefetch
+       pass only when flag_prefetch_loop_arrays > 0.
+       * toplev.c (process_options): Note that, with tri-states,
+       flag_prefetch_loop_arrays>0 means prefetching is enabled.
+       * config/i386/i386.c (override_options): Enable prefetching at -O3
+       for a set of CPUs that sw prefetching is helpful.
+       (software_prefetching_beneficial_p): New.  Return TRUE if software
+       prefetching is beneficial for the given CPU.
+
+2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR rtl-optimization/44326
+       * implicit-zee.c (find_removable_zero_extends): Replace
+       INSN_P with NONDEBUG_INSN_P.
+
+2010-06-25  Martin Jambor  <mjambor@suse.cz>
+
+       * ipa-prop.h (struct ipa_param_descriptor): Removed the modified flag.
+       (struct ipa_node_params): Removed the modification_analysis_done flag.
+       (ipa_is_param_modified): Removed.
+       (ipa_analyze_node): Declare.
+       (ipa_compute_jump_functions): Remove declaration.
+       (ipa_count_arguments): Likewise.
+       (ipa_detect_param_modifications): Likewise.
+       (ipa_analyze_params_uses): Likewise.
+       * ipa-prop.c (struct param_analysis_info): New type.
+       (visit_store_addr_for_mod_analysis): Removed.
+       (visit_load_for_mod_analysis): Renamed to visit_ref_for_mod_analysis,
+       moved down in the file.
+       (ipa_detect_param_modifications): Merged into ipa_analyze_params_uses.
+       (ipa_count_arguments): Made static.
+       (mark_modified): New function.
+       (is_parm_modified_before_call): New function.
+       (compute_pass_through_member_ptrs): New parameter parms_info, call
+       is_parm_modified_before_call instead of ipa_is_param_modified.
+       (ipa_compute_jump_functions_for_edge): New parameter parms_info, pass
+       it to compute_pass_through_member_ptrs.
+       (ipa_compute_jump_functions): New parameter parms_info, pass it to
+       ipa_compute_jump_functions_for_edge.  Call ipa_initialize_node_params
+       on the callee if it is analyzed.  Made static.
+       (ipa_analyze_indirect_call_uses): New parameter parms_info, call
+       is_parm_modified_before_call instead of ipa_is_param_modified.
+       (ipa_analyze_call_uses): New parameter parms_info, pass it to
+       ipa_analyze_indirect_call_uses.
+       (ipa_analyze_stmt_uses): New parameter parms_info, pass it to
+       ipa_analyze_call_uses.
+       (ipa_analyze_params_uses): New parameter parms_info, pass it to
+       ipa_analyze_stmt_uses.  Also perform the used analysis.  Made static.
+       (ipa_analyze_node): New function.
+       (ipa_print_node_params): Do not dump the modified flag.
+       (ipa_write_node_info): Assert uses_analysis_done rather than streaming
+       it.  Do not stream the modified parameter flag.
+       (ipa_read_node_info): Set uses_analysis_done to 1 instead of streaming
+       it.  Do not stream the modified parameter flag.
+       * ipa-cp.c (ipcp_analyze_node): Removed.
+       (ipcp_init_stage): Iterate only once over the nodes, analyze each one
+       with only a call to ipa_analyze_node.
+       * ipa-inline.c (inline_indirect_intraprocedural_analysis): Analyze the
+       node with only a call to ipa_analyze_node.
+
+2010-06-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       * doc/invoke.texi (-Wsuggest-attribute): Add item for noreturn.
+
+2010-06-25  Jan Hubicka  <jh@suse.cz>
+
+       * tree-pass.h (pass_split_functions): Declare.
+       * opts.c (decode_options): Enable function splitting at -O2
+       * timevar.def (TV_IPA_FNSPLIT): New macro.
+       * ipa-split.c: New file.
+       * common.opt (-fpartial-inlining): New flag.
+       * Makefile.in (ipa-split.o): New object file.
+       * passes.c (init_optimization_passes): Add ipa-split.
+       * params.def (partial-inlining-entry-probability): New parameters.
+       * doc/invoke.texi (-fpartial-inlining): New.
+
 2010-06-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        PR 44665
        * tree-inline.c (gimple_expand_calls_inline): Fix typo in comment.
        * gimplify.c (is_gimple_reg_rhs_or_call): Likewise.
        (gimplify_expr): Likewise.
-       
+
 2010-06-25  Martin Jambor  <mjambor@suse.cz>
 
        * ipa-prop.c (determine_cst_member_ptr): Ignore non-clobbering