OSDN Git Service

PR libmudflap/36397
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5e66ff6..ab5a315 100644 (file)
@@ -1,3 +1,173 @@
+2008-09-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libmudflap/36397
+       * tree-mudflap.c (mf_xform_derefs_1): Handle VIEW_CONVERT_EXPR.
+
+2008-09-14  Andreas Schwab  <schwab@suse.de>
+
+       * tree-call-cdce.c (check_target_format): Accept Motorola formats.
+
+2008-09-14  Jan Hubicka  <jh@suse.cz>
+
+       * invoke.texi (-fconserve-stack): Document.
+       * opts.c (decode_options): Handle conserve_stack.
+       * common.opt (fconvserve_stack): New.
+
+2008-09-14  David Edelsohn  <edelsohn@gnu.org>
+
+       * config.host: Add x-aix to host_xmake_file.
+       * config/rs6000/t-aix52: Do not override LDFLAGS.
+       * config/rs6000/x-aix: New file.
+
+2008-09-14  Andy Hutchinson  <hutchinsonandy@aim.com>
+
+       PR target/19636
+       PR target/24894
+       PR target/31644
+       PR target/31786
+       * config/avr/avr.c (legitimate_address_p): Fix problem where subreg
+       is not recognized as a valid register usage. Allow REG_X to be used
+       as a base pointer.
+       * config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Remove code that
+       forces a reload when using a base register.
+
+2008-09-14  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * config/i386/cygming-crtend.c (register_frame_ctor): If
+       DEFAULT_USE_CXA_ATEXIT, register __gcc_deregister_frame
+       directly with atexit.
+       (deregister_frame_ctor): Rename to ...
+       (deregister_frame_dtor): Use to call __gcc_deregister_frame
+       if !DEFAULT_USE_CXA_ATEXIT.
+
+2008-09-13  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c: Include value-prof.h
+       * Makefile.in (cgraph.o): Add value-prof.h dependency.
+
+2008-09-13  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/32581
+       * tree-profile.c (add_abnormal_goto_call_edges): New function.
+       (tree_gen_interval_profiler, tree_gen_pow2_profiler,
+       tree_gen_one_value_profiler, tree_gen_average_profiler,
+       tree_gen_ic_func_profiler, tree_gen_ior_profiler): Use it.
+
+2008-09-13  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (ix86_expand_movmem, ix86_expand_movstr): Avoid processing too
+       many bytes on misalligned blocks.
+
+2008-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/cfg.texi: Fix some typos.
+       * doc/extend.texi: Likewise.
+       * doc/install.texi: Likewise.
+       * doc/invoke.texi: Likewise.
+       * doc/rtl.texi: Likewise.
+       * doc/tree-ssa.texi: Likewise.
+
+2008-09-13  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/30141
+       * tree-nested.c (finalize_nesting_tree_1): Generate valid
+       gimple stores for memory rhs.
+
+2008-09-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR rtl-optimization/37489
+       * cse.c (fold_rtx): Don't return const_true_rtx for float
+       compare if FLOAT_STORE_FLAG_VALUE is undefined.
+
+2008-09-13  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/37392
+       * tree-inline.c (remap_gimple_stmt): Do not remap return value.
+
+2008-09-13  Martin Jambor  <mjambor@suse.cz>
+           Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (free_edges): New variable.
+       (NEXT_FREE_EDGE): New macro.
+       (cgraph_free_edge): New function.
+       (cgraph_remove_edge): Call cgraph_remove_edge_1.
+       (cgraph_node_remove_callees): Likewise.
+       (cgraph_node_remove_callers): Likewise.
+       (cgraph_create_edge): Reuse edges from the free list.  Do not
+       update uid if doing so.
+       (cgraph_remove_*_hook): Add free call.
+
+2008-09-13  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * ira-color.c (conflict_allocno_vec): Delete.
+       (update_cost_queue_elem): New structure.
+       (update_cost_queue): New variable.
+       (update_cost_queue_tail): Likewise.
+       (update_cost_queue_elems): Likewise.
+       (allocno_update_cost_check): Delete.
+       (initiate_cost_update): Allocate update_cost_queue_elems
+       instead of allocno_update_cost_check.
+       (finish_cost_update): Update the free()s accordingly.
+       (start_update_cost): New function.
+       (queue_update_cost): Likewise.
+       (get_next_update_cost): Likewise.
+       (update_copy_costs_1): Inline into...
+       (update_copy_costs): ...here.  Use a queue instead of recursive calls.
+       Use cover_class instead of ALLOCNO_COVER_CLASS (another_allocno),
+       once we've established they are equal.  Don't allocate update
+       costs if there is nothing to add to them.
+       (update_conflict_hard_regno_costs): Remove ALLOCNO and
+       DIVISOR arguments.  Use a queue instead of recursive calls;
+       process all the allocnos in the initial queue, rather than
+       a single allocno.
+       (assign_hard_reg): Use queue_update_cost instead of
+       conflict_allocno_vec.  Queue coalesced allocnos instead
+       of calling update_conflict_hard_regno_costs for each one.
+       Just call update_conflict_hard_regno_costs once for the
+       entire queue.
+       (ira_color): Remove conflict_allocno_vec handling.
+
+2008-09-12  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/37484
+       * graphite.c (scop_record_loop): Use snprintf instead of sprintf.
+       (save_var_name): Same.
+       (initialize_cloog_names): Same.
+       (initialize_cloog_names): Same.
+
+2008-09-12  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * tree-scalar-evolution.c (set_instantiated_value): Set instantiated_below.
+
+2008-09-12  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR rtl-opt/37377
+
+       * ira-build.c (common_loop_tree_node_dominator): Remove.
+       (copy_live_ranges_to_removed_store_destinations): New function.
+       (regno_top_level_allocno_map): Move to top level from ...
+       (ira_flattening): ... here.  Use
+       copy_live_ranges_to_removed_store_destinations.
+
+       * ira-emit.c (generate_edge_moves): Fix a comment.
+
+2008-09-12  Anatoly Sokolov  <aesok@post.ru>
+
+       PR target/37466
+       * config/avr/avr.md (movsi_lreg_const peephole2): Add match_dup for
+       scratch register after 'set' pattern.
+
+2008-09-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * emit-rtl.c (set_reg_attrs_from_value): Fix invalid alignment
+       information passed to mark_reg_pointer.
+       * explow.c (force_reg): Likewise.
+
+2008-09-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.c (spu_override_options): Default to -mno-safe-hints
+       when building for the celledp architecture.
+
 2008-09-12  Richard Guenther  <rguenther@suse.de>
 
        * tree-vrp.c (simplify_truth_ops_using_ranges): Fix types.
        PR tree-optimization/37385
        * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new argument,
        and use it as a vector type if not NULL.
-       (vectorizable_store): Call vect_create_data_ref_ptr with the type of 
+       (vectorizable_store): Call vect_create_data_ref_ptr with the type of
        vectorized rhs.
        (vect_setup_realignment): Call vect_create_data_ref_ptr with additional
        argument.
 
 2008-09-09  Sandra Loosemore  <sandra@codesourcery.com>
 
-       * doc/invoke.texi (ARM Options): Correct errors in discussion 
+       * doc/invoke.texi (ARM Options): Correct errors in discussion
        of -mfloat-abi, -mhard-float, and -msoft-float.
 
 2008-09-09  Jakub Jelinek  <jakub@redhat.com>
        (block_before_loop): New.
        * tree-data-ref.c (dr_analyze_indices): Update uses of instantiate_scev.
        * graphite.c (block_before_scop): New.
-       (loop_affine_expr, stmt_simple_for_scop_p, harmful_stmt_in_bb): Pass a 
+       (loop_affine_expr, stmt_simple_for_scop_p, harmful_stmt_in_bb): Pass a
        basic block, not a loop for determining the parameters.
        (scopdet_edge_info, build_scops_1): Do not pass outermost loop in the
        scop.
        (idx_record_params, find_params_in_bb, find_scop_parameters,
-       build_loop_iteration_domains, add_conditions_to_domain): Update calls 
+       build_loop_iteration_domains, add_conditions_to_domain): Update calls
        to instantiate_scev.
 
        * Makefile.in (cfgloopmanip.o): Add missing dependency on TREE_FLOW_H.
 2008-09-09  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-opt/37333
-       
+
        * ira-build.c (ira_create_allocno): Setup frequency to 0.
 
        * ira-color.c (update_conflict_hard_regno_costs): Remove assert.
        PR rtl-optimization/37360
        * haifa-sched.c (max_issue): Do not assert that we never issue more
        insns than issue_rate.  Add comment.
-       
+
 2008-09-09  Richard Guenther  <rguenther@suse.de>
 
        * tree-cfg.c (verify_types_in_gimple_op): Remove.
        (move_operand): Disallow sub-word modes for the constant pool.
        * config/xtensa/xtensa.c (TARGET_SECONDARY_RELOAD): Define.
        (xtensa_secondary_reload_class): Replace with....
-       (xtensa_secondary_reload): this function.  Remove SIGN_EXTEND check. 
+       (xtensa_secondary_reload): this function.  Remove SIGN_EXTEND check.
        Set icode for sub-word reloads from the constant pool.
        * config/xtensa/xtensa.h (SECONDARY_INPUT_RELOAD_CLASS): Delete.
        (SECONDARY_OUTPUT_RELOAD_CLASS): Delete.
        * config/xtensa/xtensa.md (reload<mode>_literal): New.
        * config/xtensa/xtensa-protos.h: Update prototypes.
-       
+
 2008-09-05  Joseph Myers  <joseph@codesourcery.com>
 
        * config/mips/mips.h (enum reg_class): Add FRAME_REGS.
        * ira-build.c (print_copy, print_copies, ira_debug_copy,
        ira_debug_copies): New.
        (ira_bulid): Call print_copies.
-       
+
        * doc/tm.texi (IRA_COVER_CLASSES): Fix the description.
-       
+
 2008-09-04  Samuel Tardieu  <sam@rfc1149.net>
 
        PR target/32783
 
        * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Restore a null
        pointer check lost in the recent no-unit-at-a-time patch.
-       
+
 2008-09-04  Jan Hubicka  <jh@suse.cz>
 
        PR middle-end/37343
        (remove_unnecessary_allocnos): Use all_allocnos.
        (check_allocno_creation): Check that allocnos are in the
        corresponding bitmap all_allocnos.
-       
+
 2008-09-03  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-opt/37243
-       
+
        * ira-conflicts.c (REG_SUBREG_P, go_through_subreg): New.
        (process_regs_for_copy): Process subregs.  Refine check when cost
        is taken into account in ira-costs.c.
        (update_conflict_hard_regno_costs): New function.
        (assign_hard_reg): Use it.
        (ira_color): Allocate and free conflict_allocno_vec.
+
 2008-09-03  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-opt/37296
        (graphite.o): Add rule.
        * gimple.h (gimple_vec): ... here.
        * tree-cfg.c (print_loops): Start printing at ENTRY_BLOCK_PTR.
-       * passes.c (init_optimization_passes): Schedule 
+       * passes.c (init_optimization_passes): Schedule
        pass_graphite_transforms.
 
 2008-09-02  Samuel Tardieu  <sam@rfc1149.net>