OSDN Git Service

* opts.c (decode_options): Disable whpr incompatible passes.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b5ed79c..bf3c1b1 100644 (file)
@@ -1,3 +1,261 @@
+2010-04-19  Jan Hubicka  <jh@suse.cz>
+
+       * opts.c (decode_options): Disable whpr incompatible passes.
+       * lto/lto.c (lto_1_to_1_map): Skip clones.
+       (read_cgraph_and_symbols): Do not mark everything as needed.
+       (do_whole_program_analysis): Do map only after optimizing;
+       set proper cgraph_state; use passmanager.
+
+2010-04-19  DJ Delorie  <dj@redhat.com>
+
+       * cfgexpand.c (expand_debug_expr): Check for mismatched modes in
+       POINTER_PLUS_EXPR and fix them.
+
+2010-04-19  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/avr/avr-devices.c (avr_mcu_types): Add support for new
+       devices atmega644pa, attiny2313a, attiny24a, attiny261a, attiny4313,
+       attiny44a, attiny861a, atmega16a, atmega168a, atmega164a, atmega165a,
+       atmega169a, atmega169pa, atmega16hva2, atmega324a, atmega324pa,
+       atmega325a, atmega3250a, atmega328, atmega329a, atmega329pa,
+       atmega3290a, atmega48a, atmega644a, atmega645a, atmega645p,
+       atmega6450a, atmega6450p, atmega649a, atmega649p, atmega6490a,
+       atmega6490p, atmega64hve, atmega88a, atmega88pa, attiny461a, attiny84a,
+       m3000. Remove support for devices atmega8m1, atmega8c1, atmega16c1,
+       atmega4hvd, atmega8hvd, attiny327, m3000f, m3000s, m3001b.
+       * config/avr/t-avr.c (MULTILIB_MATCHES): Same.
+
+2010-04-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * ifcvt.c (noce_try_cmove_arith): Fix long lines.
+       (check_cond_move_block): Likewise.
+       (cond_move_process_if_block): Likewise.
+       (noce_find_if_block): Improve formatting.
+       (find_if_header): Pass 0 to memset and tweak conditions.
+       (cond_exec_find_if_block): Fix long lines and tweak conditions.
+
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (lower_bound_default): For DW_LANG_Python return
+       0 for -gdwarf-4.
+
+       PR middle-end/43337
+       * tree-nested.c (convert_nonlocal_omp_clauses): OMP_CLAUSE_PRIVATE
+       with non-local decl doesn't need chain.
+
+2010-04-19  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * ira-color.c (allocno_reload_assign): Avoid accumulating
+       reload registers in ALLOCNO_TOTAL_CONFLICT_HARD_REGS.
+
+2010-04-19  Martin Jambor  <mjambor@suse.cz>
+
+       * gimple.h (create_tmp_reg): Declare.
+       * gimplify.c (create_tmp_reg): New function.
+       (gimplify_return_expr): Use create_tmp_reg.
+       (gimplify_omp_atomic): Likewise.
+       (gimple_regimplify_operands): Likewise.
+       * tree-dfa.c (make_rename_temp): Likewise.
+       * tree-predcom.c (predcom_tmp_var): Likewise.
+       (reassociate_to_the_same_stmt): Likewise.
+       * tree-sra.c (replace_uses_with_default_def_ssa_name): Likewise.
+       (get_replaced_param_substitute): Likewise.
+       * tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
+       * tree-ssa-phiopt.c (cond_store_replacement): Likewise.
+       * tree-ssa-pre.c (get_representative_for): Likewise.
+       (create_expression_by_pieces): Likewise.
+       * tree-tailcall.c (adjust_return_value_with_ops): Likewise.
+       (create_tailcall_accumulator): Likewise.
+
+2010-04-19  Martin Jambor  <mjambor@suse.cz>
+
+       * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update
+       new_stmt.
+       (cgraph_materialize_all_clones): Assert !need_ssa_update_p.
+
+2010-04-19  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43796
+       * tree-vrp.c (adjust_range_with_scev): Lookup init and step
+       from SCEV in the lattice.
+       (vrp_visit_phi_node): Dump change.
+
+2010-04-19  Richard Guenther  <rguenther@suse.de>
+
+       * configure.ac: Fix quoting around elf_getshstrndx ABI check.
+       * configure: Re-generated.
+
+2010-04-19  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43783
+       * tree-ssa-pre.c (create_component_ref_by_pieces_1): Drop
+       constant ARRAY_REF operands two and three if possible.
+
+2010-04-19  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/43766
+       * config/i386/i386.c (ix86_decompose_address): Handle ASHIFT addends.
+
+2010-04-19  Jie Zhang  <jie@codesourcery.com>
+
+       PR target/43662
+       * reginfo.c (reinit_regs): Set caller_save_initialized_p to false.
+
+2010-04-19 Ira Rosen <irar@il.ibm.com>
+
+       PR tree-optimization/37027
+       * tree-vectorizer.h (struct _loop_vec_info): Add new field reductions 
+       and macro to access it.
+       (vectorizable_reduction): Add argument.
+       (vect_get_slp_defs): Likewise.
+       * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Collect reduction
+       statements for possible use in SLP.
+       (new_loop_vec_info): Initialize LOOP_VINFO_REDUCTIONS.
+       (destroy_loop_vec_info): Free LOOP_VINFO_REDUCTIONS.
+       (vect_create_epilog_for_reduction): Handle SLP. Modify documentation,
+       add new argument.
+       (vectorizable_reduction): Likewise.
+       * tree-vect-stmts.c (vect_get_vec_defs): Update call to 
+       vect_get_slp_defs.
+       (vectorizable_type_demotion, vectorizable_type_promotion,
+       vectorizable_store): Likewise.
+       (vect_analyze_stmt): Update call to vectorizable_reduction.
+       (vect_transform_stmt): Likewise.
+       * tree-vect-slp.c (vect_get_and_check_slp_defs): Handle reduction.
+       (vect_build_slp_tree): Fix indentation. Check that there are no loads
+       from different interleaving chains in same node.
+       (vect_slp_rearrange_stmts): New function.
+       (vect_supported_load_permutation_p): Allow load permutations for 
+       reductions. Call vect_slp_rearrange_stmts() to rearrange statements
+       inside SLP nodes if necessary.
+       (vect_analyze_slp_instance): Handle reductions.
+       (vect_analyze_slp): Try to build SLP instances originating from groups
+       of reductions.
+       (vect_detect_hybrid_slp_stmts): Skip reduction statements.
+       (vect_get_constant_vectors): Create initial vectors for reductions
+       according to reduction code. Add new argument.
+       (vect_get_slp_defs): Add new argument, pass it to 
+       vect_get_constant_vectors.
+       (vect_schedule_slp_instance): Remove SLP tree root statements.
+
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (ENUM_IS_SCOPED): Define.
+       * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_enum_class
+       for ENUM_IS_SCOPED enums.
+
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * fold-const.c (fold_comparison): Use ssizetype.
+       * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise.
+       * ipa-prop.c (ipa_modify_call_arguments): Use sizetype.
+       * tree-loop-distribution.c (build_size_arg_loc): Likewise.
+       * tree-object-size.c (compute_object_sizes): Use size_type_node.
+
+       * tree.h (initialize_sizetypes): Remove parameter.
+       (build_common_tree_nodes): Remove second parameter.
+       * stor-layout.c (initialize_sizetypes): Remove parameter.
+       Always create an unsigned type.
+       (set_sizetype): Assert that the passed type is unsigned and simplify.
+       * tree.c (build_common_tree_nodes): Remove second parameter.
+       Adjust call to initialize_sizetypes.
+       * c-decl.c (c_init_decl_processing): Remove second argument in call to
+       build_common_tree_nodes.
+
+2010-04-18  Matthias Klose  <doko@ubuntu.com>
+
+       * gcc.c (main): Search for liblto_plugin.so with mode R_OK.
+
+2010-04-18 Ira Rosen <irar@il.ibm.com> 
+
+       PR tree-optimization/43771
+       * tree-vect-slp.c (vect_supported_load_permutation_p): Check that
+       load permutation doesn't have gaps.
+
+2010-04-18  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (UNSPEC_SSE_PROLOGUE_SAVE_LOW): New.
+       (sse_prologue_save_insn expander): Use new pattern.
+       (sse_prologue_save_insn1): New pattern and splitter.
+       (sse_prologue_save_insn): Update to deal also with 64bit aligned
+       blocks.
+       * i386.c (setup_incoming_varargs_64): Do not compute jump
+       destination here.
+       (ix86_gimplify_va_arg): Update alignment needed.
+       (ix86_local_alignment): Do not align all local arrays to 128bit.
+
+2010-04-17  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-inline.c (cgraph_early_inlining): Handle flattening too.
+
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.md (negdi2): Remove redundant code to force values into a
+       register.
+
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/bpabi.S: Add EABI alignment attributes to objects.
+       * arm/bpabi-v6m.S: Likewise.
+       * arm/crti.asm: Likewise.
+       * arm/crtn.asm: Likewise.
+       * arm/lib1funcs.asm: Likewise.
+       * arm/libunwind.S: Likewise.
+
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-protos.h (tune_params): New structure.
+       * arm.c (current_tune): New variable.
+       (arm_constant_limit): Delete.
+       (struct processors): Add pointer to the tune parameters.
+       (arm_slowmul_tune): New tuning option.
+       (arm_fastmul_tune, arm_xscale_tune, arm_9e_tune): Likewise.
+       (all_cores): Adjust to pick up the tuning model.
+       (arm_constant_limit): New function.
+       (arm_override_options): Select the appropriate tuning model.  Delete
+       initialization of arm_const_limit.
+       (arm_split_constant): Use the new constant-limit model.
+       (arm_rtx_costs): Pick up the current tuning model.
+       * arm.md (is_strongarm, is_xscale): Delete.
+       * arm-generic.md (load_ldsched_x, load_ldsched): Test explicitly
+       for Xscale variant architectures.
+       (mult_ldsched_strongarm, mult_ldsched): Similarly for StrongARM.
+
+2010-04-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * config/arm/arm.c (arm_gen_constant): Remove unused variable
+       can_shift.
+       (arm_rtx_costs_1): Remove unused variable extra_cost.
+       (arm_unwind_emit_set): Use variable offset.
+       (thumb1_output_casesi): Remove unused variable flags.
+
+2010-04-16  Jeff Law  <law@redhat.com>
+
+       * ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos
+       needing assignment rather than doing a two-phase assignment.  Remove
+       unused variable 'm'.
+
+2010-04-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/43767
+       * alias.c (memrefs_conflict_p): Don't crash if CSELIB_VAL_PTR is NULL.
+
+2010-04-16  Doug Kwan  <dougkwan@google.com>
+
+       * tree-ssa-reassoc.c (struct operand_entry): Add new field ID.
+       (next_operand_entry_id): New static variable.
+       (sort_by_operand_rank): Stabilize qsort comparator by using unique IDs.
+       (add_to_ops_vec): Assigned unique ID to operand entry.
+       (struct oecount_s): New field ID.
+       (oecount_cmp): Stabilize qsort comparotor by using unique IDs.
+       (undistribute_ops_list): Assign unique IDs to oecounts.
+       (init_reassoc): reset next_operand_entry_id.
+
+2010-04-16  Doug Kwan  <dougkwan@google.com>
+
+       * config/i386/i386.md (*jcc_bt<mode>): Fix build breakage by adding
+       missing left parenthesis.
+       
 2010-04-16  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (*bt<mode>): Macroize insn from *btsi and
 
 2010-04-12  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
 
+       * config/h8300/h8300.c (print_operand) : Modify case 'V' and
+       case 'W' print operands for HI mode.
+       * config/h8300/h8300.h (Y0, Y2) : New constraints.
+       * config/h8300/h8300.md (bclrqi_msx, bclrhi_msx): New patterns
+       (bsetqi_msx, bsethi_msx, bnotqi_msx, bnothi_msx): Likewise.
+       * config/h8300/predicate.md (bit_register_indirect_operand): New.
+
+       * config/h8300/h8300.h (OK_FOR_U): Support 'U' constraint for H8300SX.
+
        * config/h8300/h8300.md (movqi_h8sx, movhi_h8sx, movsi_h8sx, 
        cmphi_h8300hs_znvc, cmpsi, addhi3_h8sx) : Emit instructions in
        #xx:3 and #xx:4 mode.