+2010-09-16 Ira Rosen <irar@il.ibm.com>
+
+ * tree-vectorizer.c: Fix documentation.
+ * tree-vectorizer.h (vinfo_for_stmt): Add documentation.
+ (set_vinfo_for_stmt, get_earlier_stmt, get_later_stmt,
+ is_pattern_stmt_p, is_loop_header_bb_p,
+ stmt_vinfo_set_inside_of_loop_cost,
+ stmt_vinfo_set_outside_of_loop_cost, vect_pow2, aligned_access_p,
+ known_alignment_for_access_p): Likewise.
+ * tree-vect-loop.c: Fix documentation.
+ (vect_get_cost): Start function name from new line.
+ * tree-vect-data-refs.c: Fix documentation.
+ * tree-vect_stmts.c: Likewise.
+ (vect_create_vectorized_promotion_stmts): Always free vec_tmp.
+ (vectorizable_store): Free vec_oprnds if allocated.
+ (vectorizable_condition): Initialize several variables to avoid
+ warnings.
+ * tree-vect-slp.c: Fix documentation.
+
+2010-09-16 Richard Guenther <rguenther@suse.de>
+
+ * tree.c (tree_node_structure_for_code): TRANSLATION_UNIT_DECL
+ is TS_TRANSLATION_UNIT_DECL.
+ (initialize_tree_contains_struct): Adjust.
+ (all_translation_units): New global vector.
+ (build_translation_unit_decl): New function.
+ * tree.h (TRANSLATION_UNIT_LANGUAGE): New macro.
+ (struct tree_translation_unit_decl): New.
+ (all_translation_units): Declare.
+ (union tree_node): Add translation_unit_decl member.
+ (build_translation_unit_decl): Declare.
+ * treestruct.def (TS_TRANSLATION_UNIT_DECL): New.
+ * lto-streamer-out.c (pack_ts_translation_unit_decl_value_fields):
+ New function.
+ (pack_value_fields): Call it.
+ (lto_output_tree_ref): Handle references to TRANSLATION_UNIT_DECL.
+ (lto_output_ts_translation_unit_decl_tree_pointers): New function.
+ (lto_output_tree_pointers): Call it.
+ * lto-streamer-in.c (lto_input_tree_ref): Handle references
+ to TRANSLATION_UNIT_DECL.
+ (unpack_ts_translation_unit_decl_value_fields): New function.
+ (unpack_value_fields): Call it.
+ (lto_input_ts_translation_unit_decl_tree_pointers): New function.
+ (lto_input_tree_pointers): Call it.
+ * lto-streamer.c (check_handled_ts_structures): Adjust.
+ * lto-streamer.h (enum LTO_tags): Add LTO_translation_unit_decl_ref.
+ * c-decl.c (all_translation_units): Remove.
+ (pop_scope): Use build_translation_unit_decl.
+ (collect_all_refs): Adjust.
+ (for_each_global_decl): Likewise.
+ (c_write_global_declarations): Likewise.
+
+2010-09-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/45686
+ * fold-const.c (fold_checksum_tree): Change slot from const void **
+ to void **, use CONST_CAST_TREE to store into *slot.
+
+2010-09-16 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.md: Remove unneeded empty conditions and
+ preparation statements from expanders.
+ * config/i386/mmx.md: Ditto.
+ * config/i386/sse.md: Ditto.
+
+2010-09-16 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.h (PUSH_ROUNDING): Redefine using UNITS_PER_WORD.
+
+2010-09-15 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR rtl-optimization/45593
+ * reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
+ insns that were in delay slots as stand-alone insns.
+
+2010-09-15 Ian Lance Taylor <iant@google.com>
+
+ * incpath.c (remove_duplicates): If name is not a directory, issue
+ a warning rather than an error.
+
+2010-09-15 Martin Jambor <mjambor@suse.cz>
+
+ PR middle-end/45644
+ * tree-sra.c (create_access): Check for bit-fields directly.
+
+2010-09-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/45633
+ * tree-cfg.c (verify_gimple_assign_binary): Allow
+ MINUS_EXPR with lhs and rhs1 pointer vector and
+ rhs2 sizetype vector.
+ * expr.c (expand_expr_real_2) <case PLUS_EXPR>: For pointer
+ or vector pointer use TER to optimize pointer subtraction.
+
+2010-09-15 Jie Zhang <jie@codesourcery.com>
+
+ * config/arm/vfp.md (cmpsf_trap_vfp): Change type from
+ fcmpd to fcmps.
+
+2010-09-15 Ian Lance Taylor <iant@google.com>
+
+ * config/i386/i386.md (truncxf<mode>2): Fix indentation.
+
+2010-09-15 Ian Lance Taylor <iant@google.com>
+
+ * function.c (get_arg_pointer_save_area): Set
+ arg_pointer_save_area_init to true.
+
+2010-09-15 Martin Jambor <mjambor@suse.cz>
+
+ * tree-sra.c (generate_subtree_copies): Updated comment.
+ (handle_unscalarized_data_in_subtree): Removed parameter lhs which is
+ obtained from the statement iterator instead.
+ (load_assign_lhs_subreplacements): Removed parameters lhs and
+ right_offset, which is obtained from top_racc instead. Parameter lacc
+ is now expected to be the root of the processed tree rather than root's
+ first child. Updated all callers.
+
+2010-09-15 Joseph Myers <joseph@codesourcery.com>
+
+ * config/pdp11/pdp11.c (register_move_cost): Rename to
+ pdp11_register_move_cost.
+ * config/pdp11/pdp11-protos.h (register_move_cost): Rename to
+ pdp11_register_move_cost.
+ * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Call
+ pdp11_register_move_cost instead of register_move_cost.
+
+2010-09-15 Tejas Belagod <tejas.belagod@arm.com>
+
+ * config/arm/neon.md (vec_pack_trunc_<mode>): Instruction
+ pattern for vmovn. Expansion in case of non
+ -mvectorize-with-neon-quad.
+ (neon_vec_pack_trunc_<mode>): Instruction pattern for vmovn for
+ non- -mvectorize-with-neon-quad case.
+ (move_lo_quad_<mode>): New expansion to vmov into low part.
+ (move_hi_quad_<mode>): New expansion to vmov into high part.
+ (move_lo_quad_v4si): Refactor to move_lo_quad_<mode> expansion.
+ (move_lo_quad_v4sf): Likewise.
+ (move_lo_quad_v8hi): Likewise.
+ (neon_move_lo_quad_<mode>): Instruction pattern for vmov into
+ low part.
+ (neon_move_hi_quad_<mode>): Instruction pattern for vmov into
+ high part.
+ * config/arm/iterators.md (ANY128): New mode iterator.
+ (V_narrow_pack): New mode attribute.
+ (V_HALF): Add attribute.
+ (V_DOUBLE): Add attribute.
+ (V_mode_nunits): Add attribute.
+
+2010-09-15 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/alpha/alpha.c (alpha_expand_prologue): If stack checking
+ is enabled, probe up to frame_size + STACK_CHECK_PROTECT bytes.
+
+2010-09-15 Olivier Hainque <hainque@adacore.com>
+ Jose Ruiz <ruiz@adacore.com>
+
+ * config/alpha/osf5.h (MD_UNWIND_SUPPORT): Define.
+ * config/alpha/osf5-unwind.h: New file.
+
+2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/45672
+ * config/mips/mips.c (mips_units_per_simd_word): Correct return type.
+ * config/rs6000/rs6000.c (rs6000_units_per_simd_word): Likewise.
+ * config/sparc/sparc.c (sparc_units_per_simd_word): Likewise.
+
+2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com>
+
+ * c-lang.h (struct lang_type): Add variable_size GTY option.
+
+2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/45672
+ * config/rs6000/rs6000.c (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): New.
+
+2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (ix86_lea_for_add_ok): Return false if
+ result isn't used in memory address.
+
+2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * defaults.h (UNITS_PER_SIMD_WORD): Removed.
+ * config/arm/arm.h (UNITS_PER_SIMD_WORD): Likewise.
+ * config/i386/i386.h (UNITS_PER_SIMD_WORD): Likewise.
+ * config/mips/mips.h (UNITS_PER_SIMD_WORD): Likewise.
+ * config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Likewise.
+ * config/sparc/sparc.h (UNITS_PER_SIMD_WORD): Likewise.
+
+ * target.def: Add units_per_simd_word to vectorize.
+
+ * targhooks.c (default_units_per_simd_word): New.
+ * targhooks.h (default_units_per_simd_word): Likewise.
+ * config/arm/arm.c (arm_units_per_simd_word): Likewise.
+ (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): Likewise.
+ * config/mips/mips.c (mips_units_per_simd_word): Likewise.
+ (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): Likewise.
+ * config/rs6000/rs6000.c (rs6000_units_per_simd_word): Likewise.
+ (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): Likewise.
+ * config/sparc/sparc.c (sparc_units_per_simd_word): Likewise.
+ (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): Likewise.
+
+ * tree-vect-loop.c: Replace UNITS_PER_SIMD_WORD with
+ TARGET_VECTORIZE_UNITS_PER_SIMD_WORD in comments.
+
+ * tree-vect-stmts.c: Don't include "tm_p.h".
+ (get_vectype_for_scalar_type): Replace UNITS_PER_SIMD_WORD
+ with targetm.vectorize.units_per_simd_word.
+
+ * system.h (UNITS_PER_SIMD_WORD): Poisoned.
+
+ * config/i386/i386-protos.h (ix86_units_per_simd_word): Removed.
+
+ * config/i386/i386.c (ix86_units_per_simd_word): Make it static.
+ (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): New.
+
+ * doc/tm.texi.in: Remove UNITS_PER_SIMD_WORD. Add
+ TARGET_VECTORIZE_UNITS_PER_SIMD_WORD.
+
+ * doc/tm.texi: Regenerated.
+
+2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * tree-vect-stmts.c: Include "tm_p.h".
+
+ * config/i386/i386-protos.h (ix86_units_per_simd_word): Moved
+ out of RTX_CODE.
+
+2010-09-14 Martin Jambor <mjambor@suse.cz>
+
+ * tree-sra.c (build_ref_for_offset): Loc made a parameter. Set the
+ location of generated statement. Changed all callers.
+ (build_ref_for_model): New parameter loc which used to set location of
+ all generated expressions. Changed all callers.
+ (generate_subtree_copies): Likewise.
+ (init_subtree_with_zero): Likewise.
+ (sra_modify_expr): Set locations of all generated statements and
+ expressions to the location the original statement.
+ (handle_unscalarized_data_in_subtree): Likewise.
+ (load_assign_lhs_subreplacements): Likewise.
+ (sra_modify_constructor_assign): Likewise.
+ (sra_modify_assign): Likewise.
+
+2010-09-14 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR target/45277
+ PR target/45363
+ PR target/45407
+ * doc/install.texi (sparc*-*-*): New section.
+ (sparc-sun-solaris2*): Mention MPC alongside GMP and MPFR.
+
+2010-09-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/45567
+ * builtins.c (expand_builtin_interclass_mathfn, expand_builtin_cexpi,
+ expand_builtin_powi): Remove subtarget argument, pass NULL_RTX instead.
+ (expand_builtin): Adjust caller.
+ (expand_builtin_unop): Only use subtarget if it has the right mode.
+
+2010-09-14 Tristan Gingold <gingold@adacore.com>
+
+ * configure.ac (plugins): Fix typos.
+ * configure: Regenerate.
+
+2010-09-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/45660
+ * dwarf2out.c (gen_decl_die): Call gen_type_die for origin before
+ gen_type_die for function/method return type.
+
+2010-09-14 Ira Rosen <irar@il.ibm.com>
+
+ PR tree-optimization/45470
+ * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement
+ can throw an exception.
+ * tree-vect-stmts.c (vectorizable_call): Likewise.
+
+2010-09-14 DJ Delorie <dj@redhat.com>
+
+ PR target/44749
+ * config/mep/mep-protos.h (mep_save_register_info,
+ mep_reinit_regs, mep_init_regs): Declare.
+
+ * config/mep/mep.c: Move all target definitions to the end of the
+ file to avoid the need for duplicate declarations.
+ (mep_save_register_info, mep_reinit_regs, mep_init_regs): New.
+ (mep_reorg_erepeat): Remove unused variables.
+ (mep_expand_builtin): Likewise.
+
+ * config/mep/mep-pragma.c: Don't include rtl.h.
+ (INVALID_REGNUM): New.
+ (mep_pragma_coprocessor_which): Call mep-specific rtl-layer bridge
+ functions.
+ (mep_pragma_coprocessor_subclass): Rename "class" to "rclass".
+ Avoid enum/integer math.
+
+2010-09-13 Joseph Myers <joseph@codesourcery.com>
+
+ PR target/44749
+ * config/mep/t-mep (GTM_H): Add insn-constants.h.
+ * config/mep/mep.c (mep_conditional_register_usage): Take no
+ parameters.
+ * config/mep/mep-protos.h (mep_conditional_register_usage): Update
+ prototype.
+ * config/mep/mep-pragma.c (CONDITIONAL_REGISTER_USAGE): Update
+ call to mep_conditional_register_usage.
+
+2010-09-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR debug/43937
+ * varasm.c (output_constant_def_contents): Set TREE_ASM_WRITTEN on
+ the DECL as well.
+
+2010-09-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/45617
+ * combine.c (simplify_comparison): Optimize (X >> N) {>,>=,<,<=} C
+ even if low N bits of X aren't known to be zero.
+
+2010-09-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386-protos.h (ix86_units_per_simd_word): New.
+
+ * config/i386/i386.c (initial_ix86_tune_features): Add
+ X86_TUNE_VECTORIZE_DOUBLE.
+ (ix86_units_per_simd_word): New.
+
+ * config/i386/i386.h (ix86_tune_indices): Add
+ X86_TUNE_VECTORIZE_DOUBLE.
+ (TARGET_VECTORIZE_DOUBLE): New.
+ (UNITS_PER_SIMD_WORD): Defined with ix86_units_per_simd_word.
+
+2010-09-13 Pat Haugen <pthaugen@us.ibm.com>
+
+ * tree-ssa-ter.c (temp_expr_table_d): Add call_cnt field.
+ (new_temp_expr_table): Allocate call_cnt vector.
+ (free_temp_expr_table): Free it.
+ (process_replaceable): Add call_cnt parm and set in vector.
+ (find_replaceable_in_bb): Skip replacement if def/use span a call.
+ (debug_ter): Dump call_cnt value, remove stderr uses.
+
+2010-09-13 Jan Hubicka <jh@suse.cz>
+
+ * tree.c (build_zero_cst): New.
+ * tree.h (build_zero_cst): Declare.
+ * tree-ssa-ccp.c (get_constant_value): Accept general operands.
+ (get_base_constructor): Break out from ...
+ (fold_const_aggregate_ref): Here; handle empty constructors.
+
+2010-09-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * config/arm/arm.md: (define_attr "conds"): Update comment.
+ * config/arm/sync.md (arm_sync_compare_and_swapsi): Change
+ conds attribute to clob.
+ (arm_sync_compare_and_swapsi): Likewise.
+ (arm_sync_compare_and_swap<mode>): Likewise.
+ (arm_sync_lock_test_and_setsi): Likewise.
+ (arm_sync_lock_test_and_set<mode>): Likewise.
+ (arm_sync_new_<sync_optab>si): Likewise.
+ (arm_sync_new_nandsi): Likewise.
+ (arm_sync_new_<sync_optab><mode>): Likewise.
+ (arm_sync_new_nand<mode>): Likewise.
+ (arm_sync_old_<sync_optab>si): Likewise.
+ (arm_sync_old_nandsi): Likewise.
+ (arm_sync_old_<sync_optab><mode>): Likewise.
+ (arm_sync_old_nand<mode>): Likewise.
+
+2010-09-13 Olivier Hainque <hainque@adacore.com>
+
+ * fwprop.c (forward_propagate_and_simplify): Only attach a
+ REG_EQUAL note to an insn if the destination is a register.
+ * gcse.c (try_replace_reg): Likewise.
+
+2010-09-13 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/45611
+ * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Fix typo.
+ (copy_ref_info): Likewise.
+
+2010-09-13 Alexandre Oliva <aoliva@redhat.com>
+
+ PR debug/45604
+ PR debug/45419
+ PR debug/45408
+ * tree-pretty-print.c (dump_generic_node): Disregard top-level
+ types of MEM_REF pointer types to the same type.
+
+2010-09-13 Hans-Peter Nilsson <hp@axis.com>
+
+ PR rtl-optimization/41087
+ * ifcvt.c (noce_get_condition): Don't allow conditions with
+ side-effects.
+
+2010-09-12 Anatoly Sokolov <aesok@post.ru>
+
+ * config/frv/frv.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
+ * config/frv/frv-protos.h (frv_register_move_cost): Remove.
+ * config/frv/frv.c (frv_register_move_cost): Make static. Change
+ arguments type to reg_class_t. Add mode argument.
+ (frv_memory_move_cost): New.
+ (TARGET_REGISTER_MOVE_COSTS, TARGET_MEMORY_MOVE_COSTS): Define.
+
+2010-09-12 Bernd Schmidt <bernds@codesourcery.com>
+
+ * config/arm/arm.md (arm_ashldi3_1bit, arm_ashrdi3_1bit,
+ arm_lshrdi3_1bit): Put earlyclobber on the right alternative.
+
+2010-09-10 Jan Hubicka <jh@suse.cz>
+
+ * tree-ssa-ccp.c (fold_const_aggregate_ref): Do not check STATIC flag.
+
+2010-09-10 Richard Guenther <rguenther@suse.de>
+
+ * tree.c (make_vector_type): Do not set TYPE_DEBUG_REPRESENTATION_TYPE.
+ * tree.h (TYPE_DEBUG_REPRESENTATION_TYPE): Remove.
+ * lto-streamer-out.c (lto_output_ts_type_tree_pointers): Do
+ not stream TYPE_DEBUG_REPRESENTATION_TYPE.
+ * lto-streamer-in.c (lto_input_ts_type_tree_pointers): Likewise.
+
2010-09-10 Richard Guenther <rguenther@suse.de>
* dwarf2out.c (gen_array_type_die): Output DW_TAG_subrange_type
2010-09-10 Richard Guenther <rguenther@suse.de>
- * tree.c (type_hash_eq): For ARRAY_TYPEs also compare
- TYPE_SIZE.
+ * tree.c (type_hash_eq): For ARRAY_TYPEs also compare TYPE_SIZE.
(build_index_type): Implement in terms of build_range_type.
(build_range_type): Do not allow NULL_TREE type, improve
hashing to cover more cases. Set TYPE_STRUCTURAL_EQUALITY_P
2010-09-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
- * config/arm/neon-schedgen.ml (allCores): Add support for
- Cortex-A9.
- * config/arm/cortex-a9-neon.md: New and partially generated.
- * config/arm/cortex-a9.md (cortex_a9_dp): Adjust for Neon.
+ * config/arm/neon-schedgen.ml (allCores): Add support for Cortex-A9.
+ * config/arm/cortex-a9-neon.md: New and partially generated.
+ * config/arm/cortex-a9.md (cortex_a9_dp): Adjust for Neon.
2010-09-10 Richard Guenther <rguenther@suse.de>